package club.vann.leetcode.offer.daily;

/**
 * <p>难度：Medium</p>
 * <p>题目：最佳观光组合</p>
 * <p>描述：给定正整数数组 A，A[i] 表示第 i 个观光景点的评分，并且两个景点 i 和 j 之间的距离为 j - i。
 *
 * 一对景点（i < j）组成的观光组合的得分为（A[i] + A[j] + i - j）：景点的评分之和减去它们两者之间的距离。
 *
 * 返回一对观光景点能取得的最高分。
 *
 *  
 *
 * 示例：
 *
 * 输入：[8,1,5,2,6]
 * 输出：11
 * 解释：i = 0, j = 2, A[i] + A[j] + i - j = 8 + 5 + 0 - 2 = 11
 *  
 *
 * 提示：
 *
 * 2 <= A.length <= 50000
 * 1 <= A[i] <= 1000
 * 通过次数6,496提交次数13,100
 *
 * 来源：力扣（LeetCode）
 * 链接：https://leetcode-cn.com/problems/best-sightseeing-pair
 * 著作权归领扣网络所有。商业转载请联系官方授权，非商业转载请注明出处。</p>
 * Created with IntelliJ IDEA.
 * User: fanyu
 * Date: 2020/6/17
 * Time: 7:08
 * To change this template use File | Settings | File Templates.
 * Description:
 */
public class LeetCode_1014 {
    public static void main(String[] args) {
        LeetCode_1014 leetCode = new LeetCode_1014();

        System.out.println("Result["+TestCase.ans+"] : " + leetCode.maxScoreSightseeingPair(TestCase.nums));
//        System.out.println("Result["+TestCase.ans1+"] : " + leetCode.maxScoreSightseeingPair(TestCase.nums1));
    }

    /**
     * 解法一：
     * 时间复杂度：O(n²)
     * @param A
     * @return
     */
    private int maxScoreSightseeingPair(int[] A) {
        int ans = 0;
        int max = A[0] + 0;

        int len = A.length;
        for(int n = 1; n < len; n ++) {
            ans = Math.max(ans, max+A[n]-n);
            max = Math.max(max, A[n]+n);
        }
        return ans;
    }

    /**
     * 解法一：
     * 时间复杂度：O(n²)
     * @param A
     * @return
     */
    private int maxScoreSightseeingPair2(int[] A) {
        if(A == null || A.length < 2) {
            return 0;
        }

        int max = 0;
        int len = A.length;
        for(int i = 0; i < len-1; i ++) {
            for(int j = i+1; j < len; j ++) {
                int tmp = A[j] + A[i] + i - j;
                max = Math.max(max, tmp);
            }
        }
        return max;
    }

    static class TestCase {
        public static final int ans = 11;
        public static final int[] nums = {8,1,5,2,6};

//        public static final int ans1 = 0;
//        public static final int[] nums1 = {585,548,743,321,54,577,203,338,481,765,905,224,678,368,688,522,962,576,69,294,639,193,120,483,312,891,947,674,497,832,988,595,747,214,494,627,531,179,502,853,174,469,406,294,490,12,675,999,864,198,553,978,682,30,636,25,181,564,881,796,550,779,668,736,912,854,777,879,76,918,635,966,568,191,560,918,704,688,698,522,299,656,918,761,86,695,913,78,106,948,273,183,499,118,806,710,89,191,326,67,243,349,373,137,786,670,823,378,799,485,401,690,351,863,150,422,696,21,482,791,589,810,1000,818,31,77,250,15,945,958,159,347,955,856,590,914,412,796,888,566,511,719,999,595,582,715,937,490,357,919,216,964,580,945,93,732,521,722,726,863,267,931,969,490,933,298,941,884,902,45,279,208,58,309,460,629,118,254,443,359,686,35,787,564,547,605,805,173,641,37,49,256,621,918,669,635,939,236,994,817,142,642,369,361,453,129,225,102,240,435,35,431,948,146,382,354,706,268,392,347,621,348,7,498,460,229,968,991,595,826,435,200,680,652,167,489,563,879,463,791,515,555,69,528,420,10,835,190,420,248,708,760,197,578,931,304,25,449,78,1000,216,614,496,199,482,108,538,159,295,773,317,947,329,398,510,241,962,141,325,572,334,907,666,1,439,520,532,617,952,65,734,956,505,47,958,553,206,159,601,842,150,261,257,915,500,899,869,31,217,536,37,147,901,856,215,840,270,479,601,132,39,345,490,512,695,678,376,198,873,119,609,843,70,213,953,801,370,542,240,248,140,594,311,471,720,372,668,530,698,754,307,277,723,618,843,468,379,295,404,395,746,190,590,603,936,973,124,748,968,820,959,458,468,876,203,617,151,445,270,783,590,967,176,900,46,325,624,946,424,10,737,343,844,395,765,60,312,102,735,244,663,711,577,308,417,133,988,402,509,355,368,856,195,21,701,488,660,261,306,831,354,765,868,138,504,639,302,848,120,862,279,229,280,881,759,874,923,53,36,662,222,635,283,251,213,319,163,899,683,895,615,366,525,726,906,430,562,982,688,688,758,23,654,798,3,823,968,46,889,593,845,682,123,186,472,809,755,371,317,204,53,773,305,121,427,234,389,35,408,315,29,764,204,796,339,219,719,978,872,753,113,93,797,652,772,22,760,271,870,835,8,334,461,989,195,631,195,777,495,530,861,552,219,660,23,612,616,523,445,436,289,641,734,563,200,62,808,294,862,739,122,553,415,951,195,252,420,290,799,169,405,111,799,935,726,92,85,469,763,292,366,909,396,980,928,811,747,185,907,775,104,440,960,733,836,574,772,542,283,750,671,809,985,857,390,565,155,647,494,527,508,994,510,62,232,535,932,672,504,880,523,302,695,79,323,26,162,742,739,117,170,24,432,378,115,27,379,214,70,507,96,402,558,576,605,145,10,410,920,89,882,687,975,694,282,898,575,665,409,437,197,722,662,678,133,852,211,74,991,139,849,801,588,523,349,75,313,341,521,234,317,190,557,899,865,103,276,942,610,998,21,701,594,692,740,897,915,131,596,616,897,207,364,30,487,843,394,893,281,502,449,923,48,457,921,582,738,377,274,686,142,846,334,697,569,853,444,313,437,707,514,790,358,568,834,489,474,906,758,421,301,144,450,854,492,722,93,969,222,755,584,600,609,834,714,623,995,435,96,431,633,455,380,640,574,958,616,706,987,498,318,401,797,690,720,183,828,293,771,20,868,682,33,177,802,212,634,506,47,222,666,602,674,729,847,563,744,138,177,598,976,555,932,807,997,509,15,533,575,456,434,1,206,206,273,820,104,924,908,967,933,558,152,595,878,105,505,532,585,339,670,700,976,617,478,136,241,210,622,65,494,660,416,391,412,414,671,206,923,746,239,997,418,464,804,281,6,824,193,724,371,942,30,890,305,541,902,714,121,754,722,798,615,541,397,66,504,668,231,188,888,178,98,519,143,805,156,253,441,579,545,631,898,272,615,749,407,890,751,937,191,318,627,859,475,96,669,160,812,508,205,161,433,665,358,602,479,457,741,644,186,84,58,97,297,958,468,182,263,557,591,11,111,57,863,234,578,52,720,401,674,624,620,761,218,597,530,4,543,355,811,875,176,60,322,644,166,292,227,210,913,795,254,213,612,931,379,691,711,226,708,145,636,934,612,118,195,25,5,505,944,600,532,924,959,909,12,733,380,187,402,938,812,575,733,61,663,522,160,870,412,977,479,887,604,799,786,353,159,715,981,892,386,234,794,339,848,75,115,714,788,611,345,678,524,904,970,590,717,905,844,37,270,940,705,386,90,51,310,973,497,778,428,967,715,622,585,501,433,87,795,559,816,764,959,742,299,957,174,533,404,653,97,129,94,928,873,560,306,742,372,84,508,781,584,652,705,443,461,682,281,5,163,712,579,482,460,443,919,571,684,49,609,67,868,665,225,199,380,65,878,867,384,887,600,799,823,217,364,379,369,924,165,24,447,137,740,382,157,254,506,773,119,794,755,440,407,711,368,713,488,440,769,646,241,170,375,665,174,46,334,742,440,690,501,306,856,551,345,668,749,66,563,363,777,291,700,55,9,975,208,163,610,608,413,627,830,525,815,980,230,322,449,318,727,739,771,183,522,506,498,55,924,949,875,960,897,520,637,779,757,730,667,65,417,759,110,247,204,391,254,647,535,716,660,267,904,687,7,588,937,982,460,212,247,625,410,950,555,3,749,911,375,489,618,655,228,399,376,371,190,622,161,591,51,289,893,118,901,773,998,866,206,393,505,181,424,288,587,374,593,821,349,982,874,58,357,971,144,355,197,578,428,186,747,938,62,677,917,172,332,275,973,331,458,881,274,469,290,293,295,388,705,123,934,748,470,136,325,26,560,619,81,852,307,115,550,799,525,528,516,101,65,828,736,322,96,725,658,966,137,418,698,443,546,557,773,670,237,636,529,217,975,427,501,177,150,602,769,311,268,314,108,633,224,476,467,28,683,931,265,98,131,975,238,473,484,2,608,800,523,349,602,366,134,519,100,910,401,703,771,87,15,217,449,75,754,865,167,71,502,635,9,629,509,899,131,305,248,179,657,18,467,716,775,155,33,493,639,832,517,67,786,825,868,76,221,517,143,153,513,786,860,268,822,837,176,35,852,745,796,787,111,488,826,138,423,100,949,954,307,952,191,466,326,750,685,563,618,804,272,184,97,616,636,855,565,742,742,931,575,524,997,20,29,18,201,278,2,244,268,320,262,761,551,760,224,563,190,536,270,905,481,412,875,658,367,576,386,544,832,279,195,251,776,32,199,610,912,65,922,102,48,821,247,786,488,392,769,885,553,504,641,976,9,866,821,772,257,476,632,442,591,575,735,584,158,132,705,290,948,995,923,461,350,353,455,809,415,978,257,885,579,568,155,300,111,909,913,815,509,14,65,955,930,578,310,774,385,986,181,308,814,565,997,784,266,540,126,688,278,471,713,215,232,826,338,391,962,695,155,126,334,132,937,327,945,721,830,929,130,274,524,97,775,152,821,914,641,257,805,59,351,912,545,488,988,269,632,490,608,109,89,569,841,467,958,952,282,901,322,869,857,625,148,573,858,853,51,131,995,671,623,456,995,618,199,934,422,274,934,630,234,902,594,773,168,150,272,913,818,281,696,973,38,519,938,328,985,442,545,80,671,109,759,8,117,744,281,924,873,628,331,497,81,462,191,373,933,675,910,229,609,895,829,525,714,21,105,169,224,100,22,188,636,863,602,507,163,316,60,660,570,938,704,755,594,965,235,416,271,882,394,753,186,198,316,540,79,979,519,312,938,301,993,460,401,251,902,894,363,48,3,225,938,318,222,352,671,141,719,173,839,365,438,759,532,554,252,258,694,62,689,917,800,983,892,900,891,587,505,830,795,720,895,785,234,149,567,75,414,894,949,812,171,56,250,599,549,490,580,602,937,243,363,55,152,999,827,225,505,93,545,277,435,693,982,307,890,89,946,221,939,296,77,188,965,632,597,424,709,958,883,56,359,471,197,473,337,266,714,688,139,300,44,191,401,487,319,744,160,712,202,580,993,750,796,691,168,127,839,527,223,294,101,112,26,938,554,605,444,928,530,17,468,83,473,202,905,860,406,890,891,841,479,516,267,867,151,397,413,743,106,620,72,419,133,187,750,437,666,140,766,675,830,900,752,852,527,474,562,744,62,617,362,412,324,75,30,989,787,332,794,985,350,112,66,811,117,440,592,708,775,562,985,610,923,938,414,281,707,564,698,199,396,121,169,474,954,873,191,523,828,784,747,313,257,345,978,434,697,265,187,889,29,832,406,358,449,47,518,311,959,1000,569,476,821,486,428,361,693,170,440,168,252,391,683,530,457,938,529,97,205,647,896,874,64,237,694,593,484,468,907,184,647,795,532,716,512,799,705,566,823,682,635,211,926,349,633,107,479,338,920,488,227,445,764,440,465,51,806,110,954,405,551,927,259,787,989,515,188,812,401,883,136,491,83,380,422,895,3,976,831,894,635,488,480,446,794,491,585,282,254,853,179,946,780,637,425,431,838,821,852,455,440,304,515,384,361,316,443,416,402,214,39,660,733,228,81,986,181,48,71,667,489,115,851,394,318,375,584,943,119,939,642,784,128,888,758,560,553,920,473,965,37,316,843,256,638,26,70,465,49,837,404,391,18,99,602,325,614,966,871,824,543,786,718,336,817,480,849,981,654,385,995,566,877,58,708,207,860,309,21,362,68,538,976,114,936,91,987,811,149,395,480,173,373,763,816,394,654,238,424,28,855,777,323,337,749,810,515,160,302,924,517,414,252,791,844,983,449,18,281,324,5,868,180,777,149,81,147,288,998,777,746,107,910,701,677,872,297,735,336,786,702,363,408,67,391,213,48,976,87,432,746,925,270,401,966,115,831,494,740,573,795,439,179,537,838,932,981,263,472,987,581,307,302,275,605,372,447,625,569,701,600,235,962,657,614,367,510,670,733,662,908,723,339,637,843,973,376,132,701,788,472,539,44,900,314,221,481,998,673,488,205,368,428,209,42,921,658,712,611,599,989,803,962,73,73,537,896,857,160,571,546,117,975,685,82,615,145,626,731,163,432,110,483,14,794,619,606,118,45,844,363,327,790,108,124,482,376,893,430,515,574,145,726,633,46,741,616,220,947,918,629,886,547,636,941,639,703,773,903,77,825,835,864,292,380,315,202,499,841,526,216,211,327,42,383,442,234,127,776,896,201,758,742,953,604,236,916,207,760,456,963,280,658,352,297,794,679,984,477,407,641,744,35,179,385,256,967,666,865,833,301,754,198,952,428,980,472,519,841,557,728,459,691,349,182,808,289,772,916,904,302,481,722,947,878,110,206,110,296,913,960,52,732,996,525,332,835,828,308,568,586,378,368,423,343,424,487,222,513,745,834,441,836,757,558,530,271,321,246,615,691,201,746,769,786,389,108,882,237,535,788,691,682,200,122,601,199,558,757,117,482,373,166,680,353,922,197,700,188,927,992,31,925,269,37,796,382,590,537,692,103,652,153,856,104,994,242,446,500,104,823,313,533,621,148,624,48,955,268,425,486,958,875,316,276,746,166,902,308,123,846,634,239,235,89,115,793,323,322,474,380,648,632,584,773,979,873,48,811,836,414,436,875,308,575,802,900,917,80,52,967,238,348,918,724,745,149,472,112,74,543,808,629,810,938,720,384,159,160,532,814,130,511,25,530,479,807,182,867,258,294,184,621,684,564,913,347,174,506,156,92,403,937,560,902,140,957,597,883,631,318,746,933,572,899,561,241,416,229,488,443,12,696,249,193,620,731,259,579,413,110,878,179,936,880,732,635,558,595,355,501,83,292,163,590,567,310,375,613,383,264,831,96,419,389,639,994,116,794,59,588,614,792,971,481,36,233,472,377,258,475,351,534,206,706,533,835,21,319,634,331,522,586,278,753,405,43,912,739,106,858,818,126,884,924,487,640,156,352,686,929,263,323,717,57,506,405,469,51,852,385,933,535,201,74,869,930,25,68,445,819,714,664,720,702,101,605,329,520,226,80,166,262,828,513,789,446,376,571,605,450,994,780,142,301,814,349,16,803,482,740,26,823,887,561,341,552,532,292,512,136,106,683,371,817,198,186,916,345,657,83,891,906,429,662,775,116,687,314,910,767,497,374,701,270,857,700,216,536,247,230,70,680,419,716,168,882,862,69,847,790,567,876,534,246,181,967,80,375,421,914,436,218,739,482,791,692,191,919,233,391,500,474,693,839,382,366,840,748,448,851,943,403,577,134,208,22,331,286,23,494,219,379,664,853,555,50,418,18,328,953,42,992,459,76,498,758,165,377,95,64,285,399,53,619,533,959,829,244,732,742,408,589,474,563,125,379,670,141,367,30,355,853,713,195,391,132,321,197,350,906,709,334,716,955,5,995,579,44,732,143,10,296,785,312,510,987,824,819,497,947,806,753,315,704,583,588,144,375,374,599,276,550,21,138,747,516,907,637,980,323,125,339,421,37,889,472,417,798,598,29,37,173,956,811,119,58,903,465,797,715,673,866,273,698,792,259,449,192,453,697,20,880,428,429,221,767,387,932,801,943,377,872,770,486,983,206,968,435,705,685,207,30,415,81,680,770,628,219,249,293,284,644,675,577,334,768,76,717,215,974,748,30,22,937,964,233,758,749,860,621,843,130,32,104,425,630,73,423,912,971,891,750,829,353,322,278,637,743,515,933,447,637,576,612,91,792,941,346,762,826,825,121,565,838,690,729,345,831,945,535,355,785,929,88,259,554,72,963,58,167,163,893,479,268,230,222,55,822,233,928,791,388,744,355,535,960,657,393,872,806,420,191,757,566,104,45,506,444,595,411,179,729,321,829,981,720,202,341,480,402,784,584,390,526,996,201,832,93,763,783,300,404,301,100,698,923,261,581,534,458,106,237,169,936,339,202,427,919,543,61,728,652,625,254,930,715,604,820,124,282,503,115,395,412,460,350,316,851,329,957,444,399,100,348,891,332,912,485,585,362,810,421,786,346,704,560,233,379,894,249,262,486,237,735,289,439,622,653,199,370,990,832,700,327,822,528,407,119,49,66,648,706,880,677,958,742,343,123,570,140,48,109,820,515,918,2,696,211,919,93,924,954,612,685,869,416,949,471,718,587,751,30,856,26,374,86,239,328,253,548,736,919,914,432,255,253,617,230,662,168,332,99,690,677,987,244,647,789,253,590,959,868,177,893,802,822,464,609,25,610,994,299,296,464,417,925,357,208,987,435,38,35,973,88,412,149,918,624,293,598,390,239,915,576,595,330,647,512,192,349,847,20,281,326,971,827,959,693,868,606,753,382,777,627,273,369,707,286,733,576,707,342,491,989,273,701,984,52,910,447,743,497,882,354,216,62,89,528,514,300,981,518,55,491,616,690,296,782,110,382,445,299,760,169,832,675,183,590,855,838,797,433,62,362,985,803,440,983,618,460,499,349,796,182,489,293,925,310,36,797,355,123,300,362,862,133,27,343,589,296,169,257,751,392,454,276,265,935,322,132,586,573,211,736,609,616,891,540,36,452,257,383,514,763,977,297,892,599,278,23,283,504,673,894,757,561,934,982,637,672,628,688,903,105,190,451,379,723,800,508,494,227,602,430,167,94,999,176,981,229,311,194,440,652,50,43,870,365,604,829,486,589,309,6,266,405,470,168,504,909,674,130,501,18,707,239,694,662,83,975,514,86,464,711,193,761,329,670,840,491,126,575,590,133,60,237,654,646,309,806,778,946,577,175,643,745,91,236,815,938,254,499,457,53,116,265,973,520,482,922,286,133,988,605,265,108,453,465,494,82,192,873,688,649,476,825,756,335,450,714,480,360,680,216,660,771,373,506,978,42,623,11,271,476,205,740,723,51,930,244,689,366,191,510,565,154,892,637,215,862,557,727,181,809,890,309,402,27,318,959,511,978,500,108,413,894,754,207,24,497,582,418,154,107,55,343,703,304,722,936,724,920,86,368,26,827,921,808,407,229,648,493,58,876,96,529,490,415,737,405,724,649,541,582,738,119,908,959,48,616,257,864,345,762,896,771,7,669,280,949,790,807,127,571,133,418,273,476,317,713,452,611,519,610,356,434,731,828,84,325,469,448,390,516,575,339,307,28,696,487,246,75,356,439,187,19,790,744,548,875,184,158,894,212,58,498,711,522,2,492,105,581,992,126,123,903,827,833,475,505,492,791,379,980,564,843,924,981,51,422,430,481,875,696,618,428,735,950,329,622,376,20,630,857,695,228,157,968,490,872,458,873,521,549,823,963,228,501,632,329,610,823,736,196,458,23,898,456,134,612,969,66,373,885,266,913,498,176,939,603,310,801,584,250,44,557,188,339,406,478,13,625,499,297,916,605,535,800,693,550,10,207,392,756,704,674,580,36,395,51,969,853,10,555,185,838,788,730,491,621,278,368,954,608,748,525,667,447,803,897,214,333,39,577,161,136,326,687,724,202,400,395,799,374,348,182,755,842,792,357,16,230,218,168,845,322,639,443,37,176,56,386,631,454,117,608,807,793,252,825,116,763,819,225,15,980,797,595,536,545,148,952,886,935,192,266,383,83,890,891,42,475,115,423,392,569,565,93,853,869,484,417,824,166,309,343,537,868,243,249,667,534,786,212,50,770,161,220,478,352,60,7,354,979,261,955,822,117,603,354,672,583,335,657,63,33,530,565,759,309,748,619,186,206,451,789,705,633,391,473,894,398,413,941,941,356,216,956,636,193,873,787,949,588,272,821,694,471,409,901,900,909,232,474,160,847,537,532,219,488,743,237,852,678,194,1000,207,423,552,847,833,285,438,40,772,583,764,512,506,952,344,287,14,115,507,688,394,749,360,661,680,43,784,606,338,442,380,49,196,42,479,666,912,331,827,68,618,303,814,252,532,407,168,452,399,337,193,296,81,782,472,490,319,161,620,174,108,623,853,255,440,196,638,477,451,248,769,771,203,185,243,245,761,991,746,151,731,365,801,588,327,550,51,148,693,879,167,604,113,520,889,919,674,356,504,643,192,44,217,692,734,972,766,37,53,983,871,802,317,358,336,758,254,970,402,18,483,797,562,280,797,702,388,91,761,941,633,62,685,744,151,433,947,71,659,8,140,225,732,842,40,988,982,625,344,714,453,775,275,862,830,568,373,741,403,942,964,427,56,139,868,330,411,923,885,914,766,218,480,944,622,974,45,882,751,322,61,263,962,290,159,991,156,203,85,805,247,486,768,120,324,758,910,801,366,644,287,999,133,366,387,580,971,644,203,903,461,111,712,50,930,338,15,945,569,651,504,467,832,781,811,480,793,50,982,909,568,20,611,625,445,859,648,876,918,959,132,824,683,913,555,373,942,316,213,257,311,436,126,248,19,806,52,801,834,824,567,508,89,559,25,307,308,636,723,15,678,664,635,242,346,150,36,696,647,598,932,563,991,630,572,275,455,389,731,497,84,584,193,647,497,640,790,511,718,314,850,299,586,722,295,699,601,79,347,764,403,836,361,764,946,204,106,900,863,118,361,583,117,924,627,55,232,400,843,67,52,741,547,118,523,341,605,619,6,467,841,445,315,6,60,186,745,229,419,982,667,598,766,510,96,552,824,571,290,773,585,688,369,200,366,964,939,398,179,677,281,129,524,584,877,634,516,422,444,501,603,860,168,305,811,856,599,364,696,365,466,457,276,70,915,485,159,625,306,23,47,843,102,346,907,180,151,300,762,29,95,536,469,507,967,61,564,512,308,359,736,334,691,10,254,699,350,892,774,583,335,405,738,228,727,906,425,169,375,989,354,611,480,889,31,422,614,236,434,776,921,606,444,548,478,326,815,278,799,603,694,784,749,46,639,419,407,62,469,131,17,413,491,13,380,827,71,611,64,545,718,383,148,818,5,480,478,541,878,28,53,558,223,275,881,852,588,22,833,364,955,242,299,935,568,245,888,317,991,630,341,896,353,39,773,185,271,578,442,430,640,874,57,331,683,858,12,743,553,405,876,146,288,628,685,432,745,275,479,954,740,207,324,802,809,512,466,780,105,880,708,231,277,844,327,692,752,182,207,360,71,402,762,645,394,764,978,935,434,421,984,961,474,170,946,26,255,542,804,220,809,666,427,673,59,790,422,833,310,148,59,160,66,112,141,904,950,878,662,96,162,574,328,562,351,152,481,179,362,386,341,787,627,734,607,993,389,821,742,324,454,318,685,917,909,914,656,63,911,379,838,811,337,728,171,203,894,189,963,19,107,35,698,956,195,224,552,835,672,166,863,657,332,1000,209,551,183,684,503,376,657,977,831,898,416,1000,624,352,509,422,680,686,467,394,230,224,734,908,153,917,619,908,688,359,226,915,164,912,311,558,598,697,286,859,54,404,332,587,382,128,875,96,524,777,316,333,962,274,92,542,82,429,349,929,106,845,774,313,125,694,912,342,286,642,373,18,78,248,758,865,338,773,806,534,883,377,356,767,62,343,408,168,738,657,641,121,842,908,65,12,817,468,921,293,918,133,595,898,272,202,437,985,87,48,693,784,630,893,355,265,566,698,199,937,385,113,76,887,693,294,963,260,853,927,41,137,102,701,243,838,367,362,14,93,378,557,648,972,577,420,121,579,770,378,123,648,929,301,229,826,819,815,169,150,808,150,648,419,903,139,945,830,526,488,977,909,63,16,424,145,775,808,672,166,455,282,814,447,839,455,874,736,339,715,84,824,833,122,799,987,502,414,210,909,716,944,140,371,379,705,770,380,837,556,275,961,893,57,165,984,401,890,118,942,49,378,420,733,190,104,495,384,582,639,837,60,652,132,198,264,65,83,271,877,471,315,872,745,630,496,912,442,325,594,558,50,739,191,63,74,973,301,215,554,790,757,695,559,498,472,62,184,33,304,821,614,979,923,327,455,937,821,217,936,566,408,206,464,720,471,685,216,829,579,752,535,539,795,353,547,38,271,842,357,461,380,825,508,511,753,348,882,448,992,823,757,444,875,379,342,366,755,638,313,314,2,271,334,269,599,754,896,585,578,832,359,863,881,276,224,318,884,917,692,205,398,818,998,517,283,533,265,100,761,613,286,435,370,772,160,104,893,718,650,883,290,197,289,554,575,365,403,598,243,927,457,315,224,515,258,914,50,934,77,421,873,477,89,388,893,248,69,369,349,944,254,968,414,938,722,747,20,738,37,532,923,385,607,494,465,4,136,163,538,277,916,787,535,916,392,982,758,980,49,958,696,216,298,155,68,301,418,890,286,853,651,183,928,867,641,524,767,442,811,169,323,160,41,289,570,713,357,432,66,827,275,733,834,788,479,321,933,910,856,622,425,541,774,47,725,745,732,478,122,79,360,321,267,209,346,987,161,704,749,322,210,177,552,138,639,287,799,700,446,352,211,291,917,450,885,292,744,680,819,168,291,770,280,858,821,718,920,412,487,380,700,451,936,768,959,410,446,739,143,281,850,676,777,572,681,530,169,741,751,701,165,147,830,71,51,898,767,749,601,423,848,238,967,506,448,697,759,73,83,683,56,909,890,956,31,780,830,754,963,847,908,388,467,315,522,963,44,28,124,189,948,900,614,527,811,400,176,628,584,649,882,663,153,664,1000,815,682,146,424,252,450,463,265,846,516,669,465,56,866,190,679,494,603,724,906,922,869,589,81,313,294,840,791,487,946,777,464,548,434,377,873,698,709,641,617,437,190,16,578,188,812,773,311,702,380,540,825,702,897,670,760,181,201,612,520,174,189,871,458,682,428,821,866,136,495,483,60,134,594,108,328,449,852,228,938,846,811,363,25,418,468,652,178,61,95,429,900,996,459,419,312,164,658,395,366,211,95,775,958,753,692,864,945,268,934,532,745,248,18,384,265,469,214,289,561,127,359,525,478,764,493,964,655,637,967,708,970,368,407,475,266,883,466,427,525,203,948,411,108,784,820,617,528,442,17,568,614,380,173,849,15,630,311,176,811,754,633,119,111,732,751,349,567,793,905,423,695,570,684,93,287,423,865,567,658,838,531,105,312,670,120,583,574,984,606,456,139,967,166,860,382,965,727,785,91,317,823,602,267,477,563,812,420,213,641,893,614,524,1,402,296,806,714,314,66,550,463,489,432,358,413,843,195,67,108,125,892,672,746,398,188,385,429,906,208,739,177,235,350,533,609,114,931,421,869,622,563,85,635,223,348,91,614,931,243,726,139,120,254,338,608,941,444,740,383,894,742,747,282,602,442,640,787,654,744,645,29,806,954,597,598,394,999,975,1000,735,919,659,60,925,993,326,334,454,636,321,221,661,391,192,219,529,487,887,597,332,275,482,642,818,567,711,76,670,467,217,851,823,234,364,983,91,684,563,386,379,262,856,788,796,348,443,706,622,984,412,482,324,122,330,329,251,846,280,848,920,802,774,904,143,546,363,624,791,981,311,969,187,457,329,203,834,689,633,251,316,653,960,648,569,309,990,913,769,364,231,169,330,951,388,400,754,56,271,396,557,597,839,485,568,318,786,187,559,980,284,73,889,218,181,667,150,581,998,343,249,515,799,451,110,880,584,700,562,65,983,183,718,470,411,784,500,377,857,82,455,794,428,477,479,457,258,99,876,393,522,800,115,356,66,350,678,540,585,728,295,246,468,905,658,409,832,729,85,646,56,525,802,560,218,915,73,49,141,457,224,300,186,909,342,712,750,219,58,525,937,585,382,923,68,619,760,843,79,186,567,886,776,220,636,171,667,404,241,85,137,524,835,654,538,662,64,981,472,328,985,57,486,192,527,557,363,830,4,900,171,696,186,925,152,353,21,278,969,487,179,645,835,424,392,273,812,961,985,847,128,459,782,616,47,173,402,561,755,239,279,388,130,679,646,661,690,805,230,511,130,830,442,9,43,598,770,790,565,674,419,480,237,410,941,371,657,657,211,1000,490,627,145,555,375,440,389,222,700,2,355,21,993,148,62,739,663,761,664,800,509,838,3,475,965,907,897,752,683,797,622,624,391,876,930,229,652,322,928,108,485,798,6,889,527,866,140,472,358,739,166,305,216,753,890,97,512,314,491,208,111,256,772,442,810,905,321,137,164,545,290,45,803,679,713,436,737,709,958,34,852,973,793,415,776,911,767,707,100,161,291,777,270,667,434,853,966,737,638,951,557,869,959,327,197,121,892,488,427,176,408,486,336,256,409,731,830,912,918,577,748,45,555,41,744,977,380,271,968,718,76,663,139,712,877,912,792,342,764,863,708,271,684,630,459,829,348,923,388,654,939,829,337,593,624,460,175,827,50,288,386,891,776,598,814,711,190,346,96,911,724,347,448,817,580,659,444,992,971,843,248,472,34,704,583,363,962,544,60,44,64,8,311,798,476,621,915,789,251,300,849,69,299,892,674,60,257,502,824,537,185,99,240,509,173,121,408,135,741,699,901,439,451,852,699,423,216,964,306,244,748,61,227,200,143,418,104,480,170,491,409,355,953,242,463,866,550,271,619,238,923,924,731,134,116,611,103,911,779,43,516,752,109,798,976,308,38,400,924,93,496,287,40,506,929,386,387,831,546,64,312,271,113,829,113,65,695,555,493,369,495,602,208,358,75,254,163,757,285,445,837,187,254,26,97,661,83,672,390,678,625,425,635,700,977,325,993,407,802,881,536,500,400,818,770,349,819,179,1000,581,639,502,748,854,713,567,663,825,35,818,907,507,850,19,56,971,715,841,66,895,688,736,34,855,890,365,743,36,861,698,84,76,660,631,458,149,73,575,372,788,405,645,946,898,516,963,487,464,661,169,269,941,134,767,376,72,977,126,545,622,136,277,940,222,902,357,305,681,731,102,37,968,865,861,332,214,384,181,384,887,314,428,519,433,529,113,644,996,63,294,338,524,209,883,292,48,700,169,875,483,464,532,347,854,582,11,768,181,751,436,672,94,161,738,654,857,958,253,520,625,345,362,362,649,735,379,753,405,363,439,133,366,993,594,845,868,319,979,433,500,901,240,759,54,639,571,397,127,320,842,179,253,357,546,847,253,870,236,736,222,940,570,947,841,9,407,374,139,795,733,974,343,962,974,277,359,868,879,154,871,65,475,290,306,289,918,427,820,36,695,428,21,431,634,523,355,203,157,970,501,199,763,71,974,76,648,693,688,150,307,585,76,809,167,424,670,23,861,259,40,858,675,311,951,223,193,777,825,848,181,3,647,192,443,835,47,890,818,85,488,954,318,586,312,961,806,887,256,603,824,45,485,269,972,605,374,600,829,496,218,373,561,774,155,139,934,704,66,738,307,492,594,987,158,876,374,472,294,648,244,334,469,136,236,18,46,176,858,682,369,201,492,577,787,627,415,39,46,22,494,777,143,482,950,764,88,813,702,410,269,972,363,501,63,636,510,61,754,981,170,578,167,161,746,767,801,760,797,59,943,110,266,891,65,79,975,577,41,943,799,825,737,955,502,113,637,437,885,625,984,978,448,784,688,664,200,784,655,482,475,646,148,434,341,333,122,27,603,742,20,368,528,621,784,179,19,650,386,333,704,459,289,62,292,796,766,440,480,708,410,904,394,633,235,567,855,239,438,182,15,730,380,495,232,347,681,553,2,517,991,27,693,165,822,885,65,327,502,709,92,655,849,953,492,449,335,251,986,448,466,157,390,72,632,359,763,432,412,963,21,108,353,862,970,159,2,27,660,310,551,426,567,298,767,295,441,192,864,75,4,183,717,863,260,747,728,189,242,971,237,198,45,409,19,456,191,341,330,139,423,963,243,734,944,786,388,244,252,675,314,623,169,268,242,210,238,947,263,13,369,149,904,686,751,334,628,751,784,573,27,395,100,910,281,715,582,615,796,251,127,384,849,174,52,421,626,233,794,763,236,96,623,357,410,640,481,769,150,646,793,956,262,896,919,615,107,538,465,910,825,263,443,965,41,320,768,563,371,771,796,892,891,290,683,97,463,726,879,402,620,135,975,222,412,137,183,546,900,441,689,687,690,822,621,123,413,818,579,946,527,619,917,473,644,312,983,890,204,281,680,715,961,589,827,544,81,273,782,591,328,180,312,353,799,884,977,291,378,617,415,672,550,824,709,122,180,870,55,872,659,268,91,569,374,689,575,828,275,564,758,341,736,625,256,425,904,198,829,803,579,310,963,616,432,456,656,899,180,602,143,934,178,373,671,685,93,192,715,84,249,201,598,548,120,941,648,233,644,363,162,511,927,302,589,873,322,59,631,333,974,911,974,913,431,210,960,730,253,605,227,523,391,904,180,865,919,587,792,518,472,94,631,620,7,925,380,143,337,875,182,728,196,295,384,628,136,372,826,838,908,717,637,490,711,912,423,857,453,571,866,419,21,977,825,294,40,232,845,765,158,160,498,530,360,97,383,988,370,531,594,385,814,946,729,222,725,677,233,613,970,168,165,216,242,332,300,359,582,624,881,152,392,802,896,602,816,577,358,442,668,75,620,138,837,339,620,636,408,610,217,605,462,787,730,642,401,776,973,172,421,83,448,23,610,35,740,134,94,291,387,389,797,778,792,730,281,289,714,930,412,551,711,14,600,402,848,218,837,528,635,427,865,296,340,243,756,937,408,222,28,199,992,855,413,203,795,169,188,186,474,989,924,886,888,309,561,501,784,982,825,306,803,917,317,127,107,716,450,536,318,689,924,668,443,401,201,691,871,362,691,638,584,887,834,516,376,883,531,977,839,285,9,872,706,208,799,203,422,493,425,713,175,557,41,356,178,288,463,77,828,313,643,108,205,886,652,255,998,217,266,350,443,879,931,519,831,226,211,224,153,26,952,501,427,430,442,232,225,459,801,128,888,266,48,972,650,855,779,970,335,39,488,483,795,259,172,159,370,790,884,839,326,787,78,573,202,670,647,927,414,41,608,301,529,215,293,546,227,530,942,671,832,605,234,528,663,518,88,663,894,856,512,672,499,745,998,734,64,131,803,275,16,908,986,483,620,878,383,774,849,157,512,106,925,731,91,845,315,119,130,732,996,248,745,981,557,400,273,780,543,590,297,462,416,444,18,921,931,280,271,270,948,640,68,320,843,348,772,431,304,918,972,969,618,383,454,663,468,747,514,388,611,162,999,974,889,55,315,599,107,708,363,768,923,32,262,698,88,629,987,80,926,888,232,866,248,333,50,342,864,504,406,922,231,858,486,118,928,584,121,64,994,857,800,648,165,225,938,613,918,363,700,868,322,639,533,658,657,811,858,554,571,487,249,330,724,433,889,524,381,345,398,795,14,844,762,973,351,587,239,151,640,386,658,722,869,860,342,441,738,934,54,518,360,919,438,957,174,610,580,826,159,798,424,502,305,831,359,455,395,871,267,117,76,996,381,781,751,271,316,559,802,848,469,820,507,942,521,614,843,92,662,738,351,37,573,326,760,11,970,345,67,20,367,915,56,40,176,412,737,793,534,959,179,940,121,734,249,105,730,622,691,380,163,789,125,773,717,14,82,364,815,999,869,88,256,945,596,182,87,222,784,149,792,897,558,559,825,514,170,966,992,532,728,59,50,796,988,39,233,176,376,360,159,99,317,931,571,258,533,560,400,988,570,32,840,51,163,877,850,993,885,61,374,206,893,254,936,675,864,126,536,968,468,634,756,554,738,700,533,8,183,360,846,849,697,220,904,831,295,175,853,275,177,474,387,460,891,776,201,382,428,918,118,713,620,216,234,682,370,80,394,900,778,819,904,604,595,220,213,36,913,669,392,19,530,894,472,467,135,287,347,529,663,599,480,717,801,260,702,993,626,330,34,999,609,665,319,45,808,288,308,532,295,287,738,445,54,706,745,520,803,156,71,25,566,846,22,513,863,478,172,692,866,774,602,314,748,211,859,211,197,860,361,644,92,216,277,443,206,765,65,581,432,425,378,686,122,526,477,758,334,850,258,844,710,973,620,372,986,568,770,736,930,542,210,652,678,230,133,140,926,385,871,38,535,805,17,370,880,195,479,697,237,431,80,612,881,154,238,265,303,896,372,357,427,59,274,431,570,605,940,150,598,302,364,907,765,634,186,18,629,437,785,874,972,653,679,966,716,248,731,776,655,889,105,15,54,436,57,607,735,432,969,704,773,297,610,28,983,656,234,935,212,752,664,35,293,212,60,943,876,358,919,679,379,837,227,953,206,370,567,657,911,208,782,338,702,557,31,624,391,274,309,760,34,514,166,553,382,47,484,613,389,332,456,850,686,212,192,814,808,33,54,113,663,314,198,764,176,28,690,356,450,431,917,75,710,656,591,261,822,341,706,31,756,13,431,61,936,604,287,826,611,102,637,529,747,181,1000,872,944,163,774,939,509,897,331,644,112,156,503,961,249,477,441,425,527,505,243,726,410,514,939,795,652,227,948,267,377,111,587,740,594,747,522,974,759,355,763,84,995,239,341,525,702,223,731,459,876,992,707,748,760,126,676,573,787,654,488,336,568,599,681,92,558,181,438,700,530,144,429,507,156,298,999,812,100,200,463,308,919,357,871,249,566,993,547,281,784,124,105,213,472,307,905,984,170,407,918,882,62,65,103,98,45,799,475,916,634,190,654,949,817,305,580,785,365,211,250,667,473,342,564,599,243,746,633,767,109,595,551,839,28,677,104,545,692,351,659,206,5,435,559,696,994,134,996,69,67,932,850,244,96,308,211,146,144,408,535,56,272,593,497,478,379,508,805,187,296,104,974,512,155,57,391,157,808,502,755,934,403,823,827,215,945,861,317,58,510,452,259,322,253,438,560,363,465,598,67,902,275,8,225,452,773,703,879,553,74,738,618,347,456,45,780,413,56,375,117,557,117,188,326,527,658,889,313,528,118,5,228,377,179,865,480,722,56,241,401,419,502,761,971,552,37,941,556,957,80,478,343,314,335,55,251,792,726,960,562,758,451,183,975,228,301,344,906,672,351,300,121,775,542,208,358,495,189,766,776,836,782,459,218,828,537,86,561,489,569,419,504,704,302,736,696,104,739,244,310,223,556,165,617,241,848,633,978,254,320,780,918,991,853,501,51,564,417,216,641,297,273,166,796,844,470,212,859,749,61,569,409,856,335,632,726,573,644,934,262,590,301,306,193,400,762,335,65,805,55,565,76,31,106,905,42,463,519,218,963,35,538,808,495,770,420,515,533,879,733,992,582,366,855,990,783,378,807,778,915,874,819,208,517,451,553,70,136,268,855,936,479,285,111,235,805,528,250,694,818,653,537,83,638,775,268,482,998,425,840,423,101,90,204,648,515,198,367,970,296,429,481,478,702,350,993,843,912,912,321,725,928,510,311,565,648,826,459,396,979,143,305,424,126,882,959,711,940,171,502,119,584,345,574,954,538,369,235,679,991,549,476,261,33,679,308,708,797,41,466,496,769,494,916,39,651,781,740,457,400,601,431,918,132,872,362,818,341,818,539,996,645,791,777,805,499,836,404,615,413,209,628,108,396,31,804,968,608,929,356,650,995,999,522,133,476,696,141,880,795,991,526,466,315,325,88,619,628,39,167,613,298,153,804,394,91,406,432,401,388,305,2,683,634,705,71,635,5,381,758,437,993,74,890,704,613,843,217,594,875,526,570,256,383,419,704,974,284,801,726,493,620,521,18,670,400,15,793,287,883,113,533,971,927,284,249,969,239,584,484,492,428,40,305,434,618,493,487,599,919,148,720,355,596,678,294,906,693,949,318,873,239,939,424,866,818,213,914,835,640,200,225,478,248,714,475,98,902,272,108,965,390,63,456,833,682,676,356,217,693,53,17,336,649,634,476,679,90,629,966,327,949,294,924,570,535,665,329,312,679,509,934,411,259,92,632,645,561,1,453,556,623,509,75,912,292,844,505,630,305,155,218,504,980,78,816,520,677,883,198,655,739,8,849,529,385,975,465,971,593,661,505,877,836,488,329,888,67,151,190,810,61,23,881,253,109,51,706,728,547,715,101,365,548,780,235,143,415,128,251,849,992,944,741,130,567,757,523,210,908,958,490,730,387,414,169,111,306,958,240,147,641,957,620,353,1,306,84,575,273,12,751,191,337,498,520,500,607,309,522,245,614,977,97,794,437,242,446,507,982,621,542,725,296,917,209,510,113,10,248,285,389,987,212,210,434,573,67,660,645,788,101,857,930,469,744,67,757,41,581,410,487,264,144,425,52,564,450,30,432,437,486,3,860,201,732,926,513,173,970,27,927,247,16,631,122,544,479,400,126,515,151,962,587,974,194,685,948,514,877,217,251,365,159,939,87,983,369,323,937,369,196,385,661,472,524,638,954,742,721,901,549,550,394,264,767,212,1000,750,718,781,705,590,151,200,196,614,690,269,169,211,375,333,784,665,471,823,738,80,630,908,52,997,634,435,230,159,534,579,382,752,650,513,161,658,845,689,233,157,638,250,450,755,492,9,486,906,10,981,206,219,406,240,567,660,268,632,838,34,703,140,574,288,910,497,489,716,839,671,74,87,48,1,419,814,745,970,265,822,252,68,16,128,513,977,841,1,53,670,411,26,380,381,934,733,894,698,967,439,514,261,793,482,895,143,683,915,266,731,794,925,657,774,229,951,865,165,939,601,52,385,686,70,106,254,957,440,166,451,918,66,79,468,827,868,140,644,449,729,707,735,225,526,648,252,943,653,899,575,835,880,880,328,739,563,426,968,537,486,660,631,102,236,542,829,152,472,35,672,174,254,545,291,352,148,591,934,908,707,105,699,888,587,122,883,287,128,794,813,9,252,942,372,69,203,370,123,663,911,709,122,907,101,71,991,659,711,888,734,305,494,846,47,44,194,712,39,32,611,993,7,62,525,801,441,705,928,875,857,306,834,746,92,416,409,490,483,539,170,766,239,697,292,313,209,243,152,294,385,525,381,176,534,228,126,10,78,149,911,243,660,355,534,225,636,283,42,255,425,432,740,666,580,798,645,831,650,838,28,7,331,362,472,309,893,11,22,426,277,439,901,815,135,131,433,305,909,702,931,188,845,643,788,50,238,241,379,159,906,159,810,404,378,987,37,609,203,652,227,226,419,653,405,260,832,56,905,946,661,522,94,789,464,556,785,178,52,179,956,638,661,686,71,870,443,798,2,320,800,39,719,474,841,558,103,388,289,306,196,919,148,811,873,514,515,851,987,954,675,807,710,52,569,678,316,700,399,970,179,735,259,640,731,418,550,279,826,438,517,570,905,443,128,970,390,299,175,725,420,512,624,331,161,456,875,763,527,486,124,550,967,135,419,274,792,167,18,65,305,103,635,612,725,967,329,639,542,214,722,621,830,139,108,606,750,433,144,816,592,940,998,861,66,847,731,254,471,109,715,238,402,233,200,239,153,979,818,117,925,851,543,857,299,86,952,43,239,709,135,713,781,513,393,387,600,646,117,997,556,807,185,514,959,108,301,730,431,555,951,859,5,153,333,563,221,520,314,904,561,755,298,178,385,797,690,364,637,871,896,44,21,792,670,344,298,296,76,583,701,790,998,28,901,137,964,569,149,531,919,238,716,24,869,872,156,269,20,619,654,711,421,25,832,511,813,377,894,206,658,553,219,198,424,610,512,217,457,226,583,187,189,363,45,89,10,703,951,771,782,339,681,684,320,462,501,643,113,105,411,321,918,187,570,813,570,3,43,11,116,561,233,976,217,882,42,517,605,474,551,641,998,143,923,626,50,436,722,211,585,399,487,390,736,96,969,208,408,263,16,717,157,114,391,212,397,859,63,497,162,502,711,287,508,772,998,668,408,593,794,808,895,390,914,194,67,68,734,127,752,738,418,159,79,552,904,600,441,258,39,252,909,570,91,245,859,18,935,793,91,758,246,921,228,579,453,241,46,290,106,371,798,61,124,766,269,89,592,109,857,273,704,98,400,105,123,205,306,63,872,477,595,280,794,38,801,418,148,869,867,629,170,518,351,725,507,67,667,285,847,561,218,906,254,297,712,369,442,194,305,727,870,271,612,839,506,862,69,694,834,751,511,581,204,596,867,24,769,320,848,483,80,70,409,607,707,59,233,940,870,292,642,886,718,316,910,963,389,724,79,178,636,17,866,820,510,181,468,321,715,341,428,575,359,583,494,847,375,185,439,675,458,147,99,623,200,461,401,592,580,221,903,98,817,365,685,375,961,850,68,417,16,104,312,835,420,407,398,6,61,655,980,793,467,181,370,752,848,141,681,374,988,989,812,192,265,148,137,628,238,765,575,253,926,162,449,207,843,885,916,897,868,41,797,423,223,668,48,8,967,912,261,664,584,827,255,717,356,656,116,696,789,521,566,596,630,374,5,521,239,358,916,826,919,704,635,920,103,70,549,343,164,155,574,901,253,676,128,13,389,248,807,907,788,247,833,524,248,357,682,988,425,311,888,96,423,687,456,700,225,360,512,832,862,315,847,422,637,630,3,303,118,991,810,7,554,815,884,671,6,673,868,986,178,624,499,461,678,635,828,111,956,467,572,277,417,195,100,226,387,136,467,9,489,478,562,531,308,36,642,171,5,159,308,399,741,656,831,667,265,905,711,768,259,829,737,754,196,750,638,727,389,805,347,594,194,493,28,722,236,642,53,551,444,357,464,927,133,168,538,847,378,101,154,444,106,148,753,551,116,647,598,285,255,721,778,654,957,871,476,532,861,484,952,195,565,766,675,884,27,783,205,32,789,789,326,378,245,922,24,623,94,182,773,249,39,790,136,230,935,122,223,292,76,814,547,37,486,752,271,21,195,711,408,865,626,444,717,970,480,830,11,203,180,616,496,532,73,724,380,782,797,938,215,639,39,280,618,8,350,563,407,322,337,9,849,930,902,87,118,319,422,572,719,77,884,705,889,398,236,622,845,844,889,292,534,471,727,851,226,534,269,118,163,331,104,636,86,134,908,613,170,149,448,887,587,844,255,483,721,852,610,892,994,67,137,461,302,276,827,26,668,934,103,397,708,864,396,865,148,359,245,415,968,969,662,466,799,301,793,561,425,704,863,707,261,58,134,85,660,42,292,626,302,219,98,91,338,386,237,489,393,262,187,312,690,948,931,513,823,280,883,13,287,81,497,586,819,388,726,146,929,351,837,488,62,149,226,296,365,786,237,434,922,672,972,372,232,325,362,223,78,811,288,57,919,53,247,183,833,213,811,606,465,574,93,903,238,6,776,698,974,787,643,542,362,958,262,267,333,582,561,954,785,880,411,48,958,20,833,428,517,543,809,996,580,780,971,782,67,791,771,705,696,172,943,262,303,797,683,686,574,684,502,128,795,43,97,721,488,998,128,536,505,759,75,853,101,792,266,518,956,391,144,740,322,460,88,296,655,448,539,116,186,904,813,562,843,550,974,511,146,106,599,538,329,987,966,207,477,578,993,311,514,954,470,429,398,270,723,404,835,396,801,665,881,178,906,880,630,38,697,898,743,916,600,659,940,728,122,652,537,225,463,846,337,217,877,359,947,532,247,970,154,48,178,379,964,609,15,744,562,322,890,517,605,969,919,547,470,720,68,621,430,204,799,275,187,473,1,982,457,311,620,832,791,171,250,30,771,879,99,424,290,827,640,482,24,737,965,151,233,815,941,602,757,800,28,937,350,845,405,749,766,999,823,305,47,836,452,375,731,186,677,632,53,108,64,320,661,480,796,397,870,977,941,589,119,915,461,172,232,863,323,588,183,790,718,449,284,274,569,257,324,73,833,857,626,995,306,944,987,678,959,454,691,448,37,604,527,196,722,142,539,236,569,812,446,329,476,594,464,306,543,634,787,487,402,560,265,88,289,577,630,991,14,655,427,624,902,298,977,209,879,279,628,384,713,497,720,934,490,922,609,158,901,837,43,551,310,858,997,391,552,464,939,535,283,249,155,917,228,982,817,794,536,361,534,550,707,233,39,883,718,451,547,379,644,467,823,808,721,843,799,467,106,436,581,771,775,207,400,420,933,685,112,297,190,286,468,553,387,353,671,785,27,142,61,164,77,621,193,878,16,190,872,473,971,135,416,882,862,983,21,982,949,272,12,500,636,280,153,856,366,969,103,948,686,878,681,632,901,290,835,482,962,195,160,318,651,591,21,233,947,79,47,441,10,424,476,312,645,636,547,340,565,417,169,261,586,927,194,468,77,995,273,276,272,757,791,942,701,937,211,19,236,767,960,302,438,10,438,464,884,989,490,596,534,182,703,365,307,70,228,627,798,871,526,404,985,976,466,480,656,632,233,918,4,287,170,394,61,311,892,410,226,27,332,127,234,407,45,510,381,328,7,381,628,665,955,473,724,41,913,698,219,945,361,912,673,302,391,973,551,189,678,211,871,351,350,366,808,926,842,490,566,379,32,179,876,268,358,866,476,471,907,497,495,84,356,497,108,326,484,157,903,285,84,624,651,588,757,528,547,744,895,438,719,277,167,219,623,28,701,575,65,493,56,793,921,128,128,716,663,245,248,456,102,433,799,898,251,303,182,780,119,490,945,107,256,903,564,93,474,396,620,963,370,24,240,872,246,500,497,344,944,658,170,126,605,865,900,66,532,389,616,704,382,566,11,978,12,441,365,29,636,350,825,210,814,830,645,125,14,940,694,258,713,399,157,934,266,743,365,232,53,316,363,846,402,379,510,730,463,587,702,453,516,957,910,385,838,74,297,368,930,836,288,661,24,156,16,904,277,187,137,778,156,32,35,925,840,448,598,846,76,981,647,115,649,296,982,142,1,599,769,725,145,747,731,191,526,776,668,198,371,648,888,932,28,578,2,416,612,928,799,912,171,722,526,648,732,812,975,429,397,361,781,132,400,269,918,390,372,877,223,940,682,36,703,643,733,14,204,327,932,690,329,46,730,41,2,841,99,915,985,363,785,27,401,730,44,459,119,274,720,732,474,52,563,505,73,262,715,458,185,603,592,38,192,179,893,936,273,168,982,442,543,270,484,639,401,304,895,427,674,672,649,466,295,92,417,71,828,731,221,928,632,880,703,922,272,848,223,536,827,881,699,220,203,74,150,434,333,627,693,453,453,173,29,645,515,691,841,13,132,370,37,571,381,232,220,729,475,663,304,557,111,899,659,546,638,129,627,655,155,680,817,361,513,488,976,118,92,989,109,845,72,670,302,350,860,99,136,812,192,939,919,452,681,199,761,928,498,652,904,620,764,44,831,711,547,58,24,806,513,665,75,670,218,974,663,33,611,629,982,319,742,559,323,585,480,692,122,925,506,181,444,662,777,890,810,670,943,423,275,595,590,575,427,549,370,140,410,575,356,900,858,621,824,775,475,883,244,690,968,284,16,667,13,751,996,135,643,369,47,355,44,16,65,215,890,5,359,282,149,131,807,100,250,727,862,554,274,758,908,899,202,652,755,273,947,608,830,281,50,101,16,390,519,848,351,329,852,34,154,289,936,868,419,872,462,693,996,622,765,157,321,408,277,881,773,772,32,701,144,961,831,605,527,925,734,143,183,313,74,760,813,514,430,930,714,703,729,219,355,41,123,111,201,462,831,434,262,273,230,559,510,378,224,311,390,166,34,96,769,2,331,14,647,754,268,689,296,861,411,55,534,180,838,217,555,130,535,753,494,774,481,509,495,583,458,752,982,993,415,443,298,428,996,351,344,774,164,29,73,32,200,524,982,976,682,722,57,41,236,392,366,105,703,155,631,165,12,503,257,115,47,846,755,294,396,56,233,956,883,896,822,355,402,279,304,231,951,410,163,274,760,308,824,489,149,966,404,443,988,492,465,77,296,676,947,121,872,729,134,853,764,626,39,906,958,289,779,150,581,296,103,985,33,309,302,112,176,815,32,94,259,981,922,956,556,519,291,326,167,993,384,563,647,876,577,694,669,867,886,456,587,877,709,845,812,349,46,736,346,499,408,634,405,1,977,751,315,43,112,771,196,665,311,581,290,863,891,864,982,276,375,421,627,899,526,530,813,477,900,129,933,808,55,714,939,475,6,367,130,360,118,21,430,670,207,132,809,755,991,376,984,972,218,653,975,332,371,975,828,732,302,456,946,141,957,29,948,61,951,897,727,490,279,44,911,25,447,48,332,300,486,415,264,463,692,313,98,421,281,187,180,640,138,302,415,301,208,837,15,258,945,965,259,21,510,101,224,955,978,143,712,583,130,313,422,951,191,661,245,457,953,722,365,260,887,144,279,756,444,324,681,587,180,902,871,473,822,76,866,509,77,413,501,779,935,509,995,477,699,677,762,260,249,931,752,952,783,75,802,752,284,950,815,154,798,306,374,194,652,971,494,499,322,651,142,557,583,933,141,783,103,955,959,163,341,907,922,793,536,219,421,731,738,470,137,425,932,709,760,90,115,122,288,563,139,20,162,1,790,644,712,401,810,57,708,172,485,264,7,703,408,605,90,255,822,497,111,255,153,750,570,122,625,894,681,892,993,588,409,715,559,553,856,618,927,871,638,580,204,246,841,399,597,610,772,173,306,38,842,145,902,567,184,97,7,861,821,330,122,505,76,160,526,112,208,969,837,541,96,581,73,400,729,74,260,120,776,746,240,253,703,285,511,280,816,197,843,217,844,289,795,881,200,756,621,123,734,956,726,674,31,632,956,474,934,881,405,76,968,578,366,698,571,472,556,489,511,723,243,952,449,766,666,132,259,799,310,226,186,557,483,973,683,744,860,420,229,842,492,668,905,250,499,174,68,587,100,156,721,527,459,135,148,827,301,476,454,953,112,193,521,998,477,783,384,484,682,689,346,591,593,959,899,907,25,339,750,364,141,86,349,627,552,594,810,636,381,471,866,126,862,662,270,744,100,32,907,750,156,661,122,363,109,261,814,812,404,845,367,477,746,867,709,206,351,294,936,304,316,868,88,712,400,684,521,971,437,174,908,94,922,596,667,676,263,743,813,726,124,724,767,402,627,51,624,595,842,512,593,87,62,619,59,367,187,550,678,199,725,970,264,692,46,955,915,619,99,30,284,131,339,675,904,963,998,320,72,665,795,276,95,785,284,337,850,612,707,522,124,362,553,136,465,533,337,522,232,313,378,971,165,755,845,248,707,702,637,829,727,60,534,721,389,542,707,343,345,258,952,381,867,296,125,231,825,74,175,910,669,729,469,985,180,208,124,194,382,682,14,685,519,363,139,873,575,468,468,812,453,789,975,235,475,317,871,623,218,502,578,525,331,545,23,229,936,505,463,195,533,95,275,332,777,738,120,953,388,119,945,677,531,380,39,315,364,332,482,934,962,59,610,978,945,536,956,936,815,631,711,311,67,652,882,775,406,114,774,471,887,791,69,152,12,367,405,441,51,556,877,635,607,197,277,375,4,51,156,694,541,967,99,628,919,517,733,574,251,593,353,565,856,479,85,887,360,813,434,742,36,190,315,535,464,488,254,899,908,593,51,447,280,931,827,367,91,997,33,667,725,146,338,96,360,616,784,310,742,659,292,368,290,573,557,682,557,777,262,263,308,666,727,132,100,788,306,18,886,411,64,116,78,576,794,44,564,59,417,424,150,565,809,297,141,303,6,278,188,160,950,715,38,538,708,333,4,326,635,169,113,729,934,763,903,957,975,241,311,904,617,981,55,646,546,955,135,127,542,985,266,561,506,629,400,35,570,532,997,775,715,425,125,494,806,416,723,840,565,103,148,917,14,803,974,819,968,6,649,191,353,736,733,297,210,297,322,467,431,791,814,603,34,675,889,509,16,349,692,195,23,624,200,744,187,9,655,257,64,551,849,14,635,846,884,262,137,919,213,993,778,395,206,391,47,882,488,541,311,408,889,37,921,810,173,660,679,541,774,51,439,296,533,386,233,295,909,91,930,558,86,676,778,848,280,886,165,658,419,865,830,854,4,38,935,864,895,878,747,684,875,595,508,849,94,896,173,411,46,656,847,42,180,146,104,684,900,36,101,521,220,975,520,307,169,644,272,357,795,148,514,672,226,495,610,243,210,219,687,969,566,511,312,502,470,763,479,258,213,964,866,214,336,815,952,525,300,121,360,706,58,165,144,32,415,260,444,99,964,217,62,190,941,389,457,391,224,695,663,316,783,195,251,122,184,753,23,104,154,749,116,325,274,837,989,438,209,663,889,106,632,387,412,510,721,998,437,487,799,325,715,649,314,45,142,283,777,321,372,220,692,230,863,868,879,801,516,534,579,865,561,779,666,960,452,74,25,280,477,883,726,207,323,207,607,185,284,591,820,436,471,887,317,518,559,820,804,857,376,662,951,828,365,152,182,678,389,702,738,120,886,328,681,795,246,149,350,868,730,891,152,665,229,771,404,997,730,564,131,325,467,545,688,444,68,29,720,708,65,138,79,617,143,466,509,587,325,679,461,877,155,769,162,892,983,438,530,389,415,661,19,812,57,686,145,977,771,10,319,901,230,328,644,297,313,400,336,395,628,246,558,153,609,781,606,564,985,752,648,648,521,708,410,954,144,429,887,901,954,171,459,553,951,275,542,626,287,792,383,439,556,815,163,556,747,162,889,540,43,755,36,224,668,466,63,977,545,313,324,930,921,400,692,598,811,267,180,146,209,735,78,885,147,132,42,835,624,70,106,41,607,762,492,446,825,258,225,889,170,968,228,653,304,635,446,682,566,559,464,415,635,142,153,188,523,754,555,849,929,780,719,264,720,783,817,478,564,945,858,474,221,236,106,914,595,674,108,570,63,852,890,4,160,911,539,416,918,214,707,80,640,601,69,842,536,7,682,561,777,850,394,390,848,974,467,608,888,95,670,11,621,576,704,272,771,335,574,854,218,232,555,908,844,721,80,781,470,847,456,108,41,361,431,812,754,596,848,76,327,974,907,422,416,578,633,145,629,229,82,19,669,143,301,23,75,441,518,456,494,295,526,104,210,757,554,757,213,925,420,860,416,472,89,872,77,345,456,50,422,198,331,693,927,369,826,641,466,471,363,566,905,498,351,999,317,807,169,837,862,824,267,11,966,420,475,671,669,621,911,207,734,596,783,439,174,641,988,262,159,576,904,411,511,643,882,198,72,116,562,802,438,191,688,811,22,782,862,989,945,307,987,995,10,293,493,930,24,734,534,19,413,482,207,398,465,36,747,427,410,189,55,781,672,51,646,763,766,963,265,143,844,96,293,99,746,351,56,931,430,820,17,652,315,809,299,504,792,390,433,363,912,987,119,438,791,203,471,367,699,11,422,655,512,435,143,619,984,521,875,658,124,481,319,256,918,470,606,426,368,381,504,970,720,778,269,801,368,885,241,277,457,336,317,959,377,132,33,837,815,229,992,583,739,873,367,176,990,680,760,778,758,36,929,824,915,452,343,294,957,207,916,372,268,304,53,537,378,128,8,489,505,924,43,766,234,57,557,793,949,270,263,811,481,912,947,107,82,453,863,961,423,185,451,159,638,253,630,74,991,917,90,189,906,400,795,347,483,277,11,778,808,160,167,186,590,23,435,29,879,306,241,439,193,637,469,688,583,794,381,144,775,792,93,631,416,1000,297,534,898,992,216,497,305,669,725,85,484,260,322,627,223,274,663,790,68,583,842,806,424,394,63,81,1000,313,40,355,953,845,667,79,974,123,200,846,542,675,300,889,180,621,62,859,858,886,243,821,762,578,297,644,327,755,854,693,111,504,973,535,94,749,570,143,900,168,315,812,229,121,31,797,92,257,90,158,429,551,772,775,799,24,897,868,887,474,817,699,854,684,631,185,461,684,193,250,180,913,509,406,128,519,27,969,440,208,44,162,613,844,918,760,669,287,777,350,844,676,122,209,104,322,94,1000,43,224,27,410,117,715,751,787,154,509,85,537,821,648,864,950,359,91,364,569,415,849,95,289,675,568,885,42,680,959,110,379,675,977,9,190,732,312,336,811,687,671,145,410,78,299,382,14,199,432,417,524,764,138,807,908,72,695,716,248,773,668,856,212,669,443,179,100,332,941,892,849,811,886,947,233,354,599,222,397,545,122,45,381,845,443,678,239,845,659,929,996,275,208,948,828,27,852,638,364,428,790,556,504,838,366,353,915,95,514,993,412,172,130,410,822,771,529,152,512,708,224,500,520,474,998,389,831,461,47,614,729,462,143,113,925,9,218,405,594,370,307,689,503,384,270,188,369,399,281,117,417,112,490,506,478,307,709,931,145,851,149,401,887,227,385,354,413,829,811,71,194,403,928,142,999,515,621,62,170,520,439,943,659,718,738,247,496,798,394,9,753,983,555,753,785,116,996,99,596,884,870,814,394,69,921,783,87,1,151,890,849,161,497,621,822,328,893,746,811,18,520,505,66,983,437,497,453,465,167,712,516,744,879,860,270,275,697,327,154,477,821,689,650,669,951,161,607,165,65,413,120,31,997,637,454,196,527,33,449,156,935,45,176,661,468,642,595,905,419,142,778,22,920,5,504,548,274,415,79,187,41,724,13,367,364,27,359,781,9,772,120,66,687,403,416,113,535,941,952,627,655,274,743,164,225,315,642,379,312,665,975,279,608,380,855,761,748,252,53,958,300,518,925,910,923,316,830,918,583,192,57,609,570,619,649,851,237,478,582,639,325,484,645,514,384,657,908,973,733,600,740,562,582,497,590,178,371,11,38,8,906,551,417,963,684,235,453,283,63,419,920,553,805,586,65,165,645,910,286,537,125,332,29,524,508,894,318,406,214,328,665,660,170,799,322,511,320,437,418,378,229,588,876,139,144,599,567,661,189,383,794,385,733,973,951,256,863,290,425,315,100,615,633,300,716,891,710,488,184,117,502,628,949,211,344,232,678,272,350,364,695,344,895,314,309,92,287,747,836,102,634,640,889,281,988,819,875,948,669,404,89,423,949,556,889,201,40,808,226,420,738,616,996,501,601,372,917,563,729,409,715,594,23,225,181,613,210,259,167,184,342,757,368,92,53,732,926,272,388,459,346,464,15,27,729,135,219,794,115,202,389,152,609,419,974,374,243,289,977,36,578,812,918,896,548,855,130,934,14,679,609,544,871,278,402,771,532,852,296,926,189,749,502,928,662,252,704,695,260,547,289,720,861,607,830,19,114,99,150,966,957,751,670,921,386,906,664,198,553,58,340,836,824,892,495,847,576,149,424,469,394,382,470,522,11,523,640,227,447,220,559,956,775,975,541,218,200,968,779,996,385,515,546,496,39,838,588,565,791,866,861,854,113,972,611,106,703,334,891,493,69,162,223,775,341,444,239,876,665,168,141,600,723,370,639,514,865,880,441,414,358,805,581,531,582,336,515,36,723,402,746,314,863,791,28,782,229,685,516,540,980,882,656,87,883,670,774,887,124,125,473,448,652,694,110,229,938,460,841,822,456,639,155,755,507,259,734,160,292,840,17,659,369,642,429,752,308,501,34,144,289,888,338,437,774,199,826,499,597,39,464,950,63,620,720,186,702,920,84,421,614,525,395,607,102,736,16,119,778,664,463,353,754,410,27,792,172,606,12,299,6,971,439,242,794,518,91,178,849,126,526,78,990,68,777,40,66,839,33,171,786,265,799,684,47,434,49,758,811,14,495,74,422,9,47,281,263,229,475,765,287,710,105,927,868,9,652,440,650,582,965,480,39,381,447,848,386,645,73,78,931,688,228,428,198,213,541,938,662,691,142,178,719,851,37,761,270,872,541,174,986,615,594,69,275,962,660,980,882,510,106,594,168,989,870,388,514,297,869,450,408,960,218,28,222,913,546,13,450,649,785,262,19,784,290,169,796,435,446,96,962,216,191,357,20,653,202,869,545,153,103,53,815,355,894,564,699,671,147,347,125,926,109,70,210,807,121,157,418,836,687,959,854,40,491,630,667,521,610,713,40,869,816,25,367,953,711,755,156,554,361,274,878,825,703,385,397,290,667,791,542,318,295,927,453,186,66,264,722,652,605,217,947,745,925,194,432,348,985,961,503,430,217,685,406,730,329,97,605,11,276,998,548,928,982,696,829,864,228,804,318,289,285,657,110,144,223,999,33,289,796,624,991,898,553,709,708,554,386,915,702,344,316,432,685,282,881,515,508,514,567,232,975,820,504,945,3,843,65,8,357,264,886,263,891,783,139,80,701,555,838,397,862,123,311,237,198,931,421,605,539,923,504,185,660,504,582,401,173,40,516,860,752,991,268,423,453,583,407,432,779,942,474,347,198,109,995,85,18,64,70,262,923,857,474,555,926,767,297,712,525,514,10,442,35,238,672,142,59,852,903,628,118,777,966,291,850,615,559,523,883,789,900,301,765,834,639,797,382,540,680,841,318,243,705,689,990,622,673,35,655,798,276,311,658,870,228,861,534,789,128,820,286,505,126,341,958,344,264,33,411,858,534,759,628,674,120,146,70,889,184,427,134,539,957,160,449,402,480,853,225,309,647,691,88,825,851,219,509,622,160,579,234,922,845,870,488,597,88,983,70,635,467,608,171,785,866,700,664,40,880,287,281,2,551,713,62,773,906,809,631,942,62,814,186,684,742,870,991,209,765,377,475,712,47,555,565,812,677,903,166,981,276,201,524,577,435,973,741,398,666,201,988,306,723,423,444,997,766,720,253,133,909,652,621,445,547,728,275,374,387,27,441,913,774,186,147,173,268,641,192,826,917,210,5,98,627,113,470,888,902,534,816,889,324,931,344,18,677,361,329,691,202,380,920,809,504,911,835,81,872,196,266,245,937,220,310,832,385,437,817,305,542,767,789,288,961,353,688,49,649,345,947,40,555,852,884,25,995,223,71,649,528,448,896,297,323,904,688,849,425,120,858,402,865,326,774,568,391,759,306,948,832,125,155,482,174,548,692,935,302,292,981,465,108,307,419,109,5,204,862,394,381,746,200,403,748,435,751,452,892,662,596,567,154,794,962,539,964,886,651,777,226,547,696,55,813,288,812,975,482,408,399,162,366,352,949,881,8,848,749,205,452,584,506,978,916,623,756,247,374,631,164,645,648,943,210,429,715,752,235,947,212,529,179,143,563,140,22,443,276,138,422,69,605,56,822,58,77,328,731,847,814,69,676,148,621,751,330,838,114,562,89,770,576,420,377,648,929,98,216,939,558,350,479,114,559,374,24,344,400,187,792,943,716,491,257,822,567,457,989,649,296,821,658,347,84,250,366,162,587,632,779,734,117,378,535,965,148,893,614,780,323,700,293,761,954,587,139,351,572,759,476,828,805,234,728,649,667,523,665,801,29,508,453,516,725,714,433,926,826,115,493,448,570,31,666,500,253,773,8,595,703,287,225,943,457,670,646,102,949,859,324,138,489,670,541,980,201,184,697,604,667,385,944,947,139,312,309,267,343,329,354,904,921,775,15,184,870,386,504,232,163,980,490,485,199,64,600,53,917,304,365,55,73,768,18,391,748,436,862,61,689,924,276,73,316,725,744,533,729,524,914,79,661,181,161,927,953,605,726,250,780,437,758,545,101,889,387,127,133,741,300,491,232,725,30,592,472,514,433,55,295,400,427,135,362,952,700,665,123,346,796,90,980,489,573,655,992,964,487,648,492,898,385,937,120,443,977,813,361,751,835,708,709,71,315,688,332,809,890,959,923,450,802,46,152,518,241,738,594,14,491,536,325,178,296,972,920,302,639,464,846,132,215,190,191,445,38,845,186,939,153,531,479,408,197,895,562,620,333,403,71,605,513,532,104,487,772,833,951,402,629,381,278,82,46,360,669,404,279,867,885,730,295,93,576,794,290,889,509,167,198,721,409,618,767,714,477,355,760,443,966,152,212,343,889,653,820,997,490,581,535,919,160,941,57,634,743,273,922,29,124,94,375,63,779,553,332,281,365,64,35,491,618,109,674,950,899,650,678,650,804,773,252,381,135,727,388,19,984,556,610,47,551,228,422,966,309,244,56,691,350,214,934,577,6,992,353,836,259,115,368,533,798,947,519,567,265,474,81,178,407,315,796,932,838,703,913,813,508,282,449,443,542,757,713,388,24,26,411,158,508,286,942,261,196,311,104,430,184,666,836,957,929,74,439,916,53,993,753,245,350,133,899,169,482,334,103,855,310,347,208,525,997,594,14,711,564,282,713,947,714,49,842,917,695,306,738,584,401,224,435,182,588,417,174,260,729,843,127,651,453,30,380,371,193,373,842,857,411,462,351,207,227,496,614,120,668,790,655,934,755,297,656,794,519,185,245,319,943,760,868,939,534,310,313,594,665,454,866,145,886,16,945,184,90,913,576,504,998,324,475,498,462,487,862,699,109,970,905,663,783,132,863,12,278,364,958,109,935,940,397,109,798,714,74,974,419,306,580,473,905,209,559,470,648,578,428,689,102,275,8,187,375,346,95,784,330,556,202,374,898,362,477,212,855,495,858,369,614,540,484,634,166,962,922,289,56,373,354,274,769,936,345,644,21,892,812,918,382,754,850,678,928,326,318,22,339,622,471,245,892,87,691,614,920,272,935,232,178,107,657,676,890,697,563,676,167,596,612,150,279,86,657,756,418,816,794,757,584,896,411,366,621,401,906,265,298,639,986,300,205,369,671,81,717,411,406,711,28,944,431,443,39,744,996,814,411,814,608,180,307,742,420,496,425,612,166,810,82,142,25,220,328,630,299,170,433,31,936,544,433,292,872,502,603,377,428,455,235,590,509,538,234,98,451,190,217,238,108,610,453,404,85,335,258,255,840,563,325,810,687,134,656,412,656,881,996,560,366,432,554,283,95,156,547,416,721,634,191,325,331,51,49,428,40,711,618,61,739,338,157,13,279,800,335,610,670,894,952,499,41,771,272,591,903,432,956,69,62,610,867,351,577,788,201,957,737,709,576,541,81,446,598,383,747,291,133,739,443,5,142,699,133,850,927,101,971,389,277,452,584,665,708,416,433,637,249,452,35,389,86,516,86,868,846,289,69,468,117,622,581,841,198,200,629,682,5,209,164,757,579,97,502,552,511,814,433,744,918,617,571,101,957,565,12,643,868,625,434,107,435,296,782,379,448,164,950,380,245,339,363,675,970,900,597,574,281,817,297,126,456,315,704,973,395,340,360,914,359,226,128,283,802,989,777,158,679,868,454,851,84,53,546,449,752,833,322,56,952,832,199,687,521,831,258,561,761,351,654,708,490,709,845,118,680,844,407,603,674,386,480,780,757,25,623,591,793,497,336,437,178,253,134,960,202,504,747,101,933,683,318,333,900,659,76,992,591,780,609,441,377,334,915,453,567,622,857,159,292,753,343,937,368,779,256,784,828,41,416,329,796,320,911,885,738,437,439,44,954,284,19,956,882,547,320,503,312,128,773,679,314,563,844,169,888,101,899,419,302,699,791,61,758,511,409,946,333,744,509,377,772,790,548,681,239,384,882,39,512,883,330,679,904,527,425,820,390,833,760,50,521,199,595,497,73,864,661,148,815,461,87,314,122,706,425,380,591,753,878,659,946,109,408,304,32,190,682,822,506,744,607,332,401,434,727,49,587,625,658,615,106,873,763,396,3,905,74,742,368,625,331,861,963,712,356,308,761,939,679,34,57,580,888,15,639,279,547,190,925,661,559,200,529,317,921,943,717,145,311,443,132,426,551,687,949,923,543,428,169,400,702,949,396,463,744,594,396,664,829,729,978,842,424,201,832,287,592,250,788,28,792,567,476,715,435,863,601,732,917,358,31,664,670,257,731,603,639,199,12,872,26,102,184,784,64,651,282,749,228,638,325,16,919,819,702,30,755,369,524,170,903,30,610,278,667,105,696,640,113,305,427,565,876,133,105,31,472,469,545,334,618,704,871,610,843,688,934,628,353,806,603,452,57,874,434,26,553,498,722,878,980,421,505,126,291,405,953,636,521,483,541,563,702,156,639,933,557,187,274,485,459,564,138,961,203,418,53,256,850,259,264,91,931,237,344,83,956,133,312,564,983,468,817,663,414,371,545,847,838,222,218,244,293,35,24,148,437,129,411,459,111,842,607,31,143,772,126,416,466,91,600,518,878,418,735,1000,154,592,949,91,92,242,611,851,298,49,920,430,642,72,942,121,201,320,22,453,902,388,180,639,939,655,74,615,593,344,648,995,963,135,747,107,32,941,861,564,468,896,488,492,312,91,927,22,608,623,665,937,626,891,669,230,722,876,911,464,768,240,630,859,329,6,344,790,548,240,166,706,721,753,620,502,51,664,652,971,97,311,410,155,639,787,836,259,74,741,255,760,352,739,245,886,669,644,174,967,336,447,675,570,288,898,51,75,352,971,132,951,341,201,852,57,486,870,69,255,202,728,175,767,582,527,158,750,184,161,384,722,28,870,818,640,30,834,628,165,688,694,523,706,253,828,954,488,453,700,456,791,753,876,839,915,617,722,251,685,12,708,915,214,306,783,367,725,520,311,652,544,421,752,833,428,158,169,580,289,736,52,341,61,530,231,351,741,338,59,116,804,697,222,628,94,352,420,154,169,925,675,278,864,780,791,144,419,673,997,483,921,674,108,391,596,867,609,33,815,114,254,833,244,462,51,619,528,153,672,986,50,384,725,788,834,365,245,209,904,255,600,968,892,399,486,135,707,811,587,558,697,670,686,145,547,406,897,985,779,433,24,615,499,26,406,364,142,890,53,546,67,641,703,432,893,38,860,650,300,111,995,523,953,666,112,65,682,184,328,510,906,715,262,760,685,673,46,201,911,587,269,94,135,464,458,195,313,274,354,812,831,796,23,972,20,932,137,838,786,646,974,194,459,776,410,823,785,185,412,708,766,764,549,560,840,758,626,508,919,205,382,114,379,745,891,672,52,977,694,678,896,165,456,770,322,925,532,917,526,426,727,876,102,308,260,950,424,357,199,8,291,771,186,973,534,61,731,434,669,288,115,725,879,840,439,836,262,346,900,838,197,533,483,283,122,74,505,558,856,698,339,122,571,735,523,822,692,70,191,497,328,136,780,932,120,614,613,267,205,885,314,90,360,909,71,809,534,684,343,610,365,626,801,898,419,601,508,254,787,188,597,341,25,510,131,826,418,405,374,249,499,230,476,383,798,939,316,357,649,744,218,444,410,440,967,669,970,869,540,858,74,883,173,709,621,151,381,240,69,510,230,993,6,49,997,271,639,804,459,298,286,221,678,468,820,461,332,413,742,897,881,884,64,889,415,602,647,882,980,771,844,51,208,112,115,743,976,221,187,162,354,252,427,468,912,579,362,200,344,539,40,765,767,814,440,970,966,236,944,959,133,863,995,508,776,775,366,986,713,25,650,117,109,55,895,318,334,827,639,186,338,60,370,366,617,298,321,812,297,340,474,989,680,43,274,196,384,947,187,869,562,912,733,486,530,949,529,440,174,302,68,929,539,721,545,762,877,156,35,86,799,518,842,809,966,815,910,818,397,286,178,873,843,370,335,849,667,140,455,451,474,65,683,979,942,995,285,412,585,24,876,592,539,280,783,230,216,782,404,340,1000,319,604,101,771,451,261,236,988,800,727,69,430,77,990,667,55,835,592,682,210,323,3,775,380,170,486,790,21,760,300,637,503,656,237,769,904,98,162,51,466,528,324,478,820,570,985,286,522,45,643,453,56,597,526,629,359,415,238,401,476,645,166,608,789,79,15,661,629,226,786,185,567,68,948,886,317,88,878,610,421,12,553,656,267,264,192,265,376,99,371,617,989,299,662,410,376,645,533,896,48,885,425,418,745,579,866,855,725,160,688,258,15,793,751,426,305,564,881,241,516,938,704,170,139,621,306,102,620,772,401,575,649,433,138,667,167,237,10,293,960,226,609,675,868,723,338,136,311,970,95,869,95,741,295,827,267,565,592,240,537,876,913,74,988,602,553,132,842,708,646,987,443,464,159,31,392,810,936,827,109,425,580,320,161,102,408,638,390,903,270,68,455,281,446,456,516,809,521,239,573,881,908,350,614,248,135,396,851,215,815,930,826,403,129,887,812,315,942,868,864,546,878,11,853,63,10,976,916,930,470,995,249,750,212,653,704,721,300,79,452,262,964,40,557,621,386,687,63,498,536,725,894,820,43,309,162,490,20,292,547,172,184,906,16,874,307,865,382,677,568,280,46,907,191,456,771,547,78,534,723,723,663,695,506,680,456,63,492,953,309,756,145,807,775,955,244,269,140,836,249,74,203,251,494,294,854,217,661,820,299,260,805,430,700,983,18,52,723,673,789,510,48,830,87,729,565,526,748,601,985,582,4,107,719,256,561,72,542,422,14,323,627,942,476,83,523,334,357,793,341,915,244,845,578,813,240,200,785,256,222,808,460,885,412,581,615,397,771,666,859,226,562,799,126,623,382,259,182,367,518,743,675,865,295,405,191,26,60,458,130,563,910,762,44,613,449,769,203,537,710,537,335,422,623,916,844,238,43,239,393,404,569,30,403,226,171,12,359,680,144,402,362,974,450,852,86,599,949,239,982,421,708,271,649,624,220,365,920,979,430,408,945,659,609,469,790,816,454,658,213,122,190,590,928,134,419,332,84,46,757,795,865,675,74,774,196,820,499,600,194,296,625,210,267,81,936,662,161,957,626,123,434,563,518,173,549,423,147,225,402,606,430,12,229,4,961,974,515,221,366,109,179,663,334,225,884,241,12,352,320,738,299,460,672,256,759,435,890,14,872,821,865,484,449,496,645,730,777,801,782,873,263,226,888,119,81,275,892,644,429,985,119,901,80,588,673,15,367,141,675,711,605,876,805,90,726,879,12,85,318,825,339,871,370,963,276,752,243,142,130,564,452,287,3,28,274,472,541,290,59,958,659,1,207,827,259,573,308,978,179,200,605,738,852,655,565,902,45,425,637,927,709,510,755,120,524,386,217,628,891,683,480,831,685,368,131,396,179,605,605,49,442,99,485,835,938,924,965,258,71,393,844,538,941,899,442,363,459,778,87,90,616,126,839,818,861,231,356,910,497,942,132,212,127,996,650,951,769,420,895,890,373,446,764,429,252,44,12,311,241,802,314,305,914,677,22,291,796,413,178,227,184,19,340,46,177,182,423,584,641,695,597,707,133,213,250,603,573,203,595,559,36,520,801,692,469,597,375,475,193,877,396,758,44,97,956,734,358,705,813,657,721,510,293,757,64,106,664,852,617,977,553,899,47,302,407,933,317,187,2,528,350,153,168,580,113,623,995,624,145,177,561,157,29,792,369,306,833,38,316,995,89,458,549,84,6,385,695,516,255,739,421,787,109,648,993,696,993,939,409,737,856,813,959,358,643,142,508,786,493,489,572,131,406,567,91,242,677,122,293,63,890,66,974,835,824,246,218,887,838,258,967,636,365,715,272,351,329,147,133,110,741,65,779,949,259,370,527,83,724,760,87,284,219,482,691,605,83,330,619,379,480,554,880,981,136,352,842,718,470,646,301,142,238,906,278,543,582,436,359,27,233,230,71,229,321,414,698,519,337,462,96,322,579,681,374,191,890,553,278,205,804,702,138,193,253,699,211,104,877,268,7,399,508,977,661,622,744,401,162,330,960,881,495,350,801,14,822,566,473,173,762,1000,229,586,897,150,966,695,286,318,102,566,602,882,468,548,211,892,457,920,152,854,437,802,400,126,31,893,284,874,372,572,350,159,629,397,689,515,449,260,371,742,891,305,520,806,501,756,867,722,17,49,615,507,655,275,139,858,230,403,28,242,6,798,53,402,5,69,160,567,929,442,185,543,250,579,680,951,939,364,80,483,818,666,667,275,424,500,749,253,613,924,204,708,992,79,285,706,337,565,963,135,392,507,458,447,371,188,109,762,373,327,717,152,240,864,119,544,42,151,10,972,44,858,357,165,109,634,103,176,582,358,197,886,370,609,49,999,577,514,388,829,922,435,764,341,65,202,865,99,221,218,79,747,408,57,815,586,392,257,161,918,478,255,570,673,509,61,395,144,809,871,775,638,325,690,670,456,408,934,952,309,620,522,240,858,656,904,174,842,67,859,79,272,226,268,240,929,618,307,907,813,48,356,882,945,988,770,896,873,226,332,900,308,848,413,291,261,554,745,138,488,394,2,483,761,365,130,69,648,647,127,927,262,683,284,768,941,707,232,886,234,882,468,973,848,466,398,352,217,418,533,872,204,288,791,436,267,836,894,743,503,234,198,423,396,368,771,34,558,535,56,186,465,333,822,250,272,304,393,74,457,890,860,48,340,378,718,627,884,335,196,388,227,787,424,462,378,261,486,590,418,473,834,893,864,518,417,632,153,102,390,191,854,920,229,88,874,957,384,420,772,555,494,726,21,912,479,244,89,383,168,675,563,823,904,241,653,577,69,716,848,300,282,113,886,344,457,350,302,347,160,339,814,692,459,853,431,433,690,995,574,482,234,527,357,970,373,623,912,276,250,785,239,903,60,315,852,218,578,352,69,743,715,115,933,862,481,481,654,707,901,870,686,535,730,329,587,678,659,496,924,819,585,129,385,89,97,850,55,175,854,624,886,55,271,269,981,536,477,717,279,156,499,869,240,987,944,767,885,478,634,446,369,889,484,543,156,967,161,396,339,748,343,17,206,389,840,695,618,686,164,119,768,282,670,829,831,34,212,182,961,591,382,955,592,882,618,719,591,570,857,104,638,27,458,727,800,409,645,308,273,960,869,35,710,667,487,458,305,247,356,240,36,434,90,72,671,46,147,261,449,926,221,37,493,531,203,603,628,390,488,754,187,300,911,253,605,820,714,94,436,668,641,728,393,58,382,512,15,539,322,32,863,252,953,646,550,639,535,468,923,492,853,745,689,404,22,636,163,182,47,468,944,887,250,145,409,702,451,283,490,408,721,987,406,252,294,971,639,361,957,115,274,724,531,762,517,966,463,487,463,889,707,613,541,529,404,30,415,725,707,768,669,619,979,994,590,60,457,285,982,377,69,238,736,616,528,866,622,787,194,179,929,875,21,4,246,373,178,346,424,326,354,269,915,802,619,196,592,767,563,192,210,559,158,265,506,792,832,865,121,897,5,798,888,18,766,701,706,298,715,561,866,775,550,686,786,84,418,960,920,307,747,917,868,892,957,165,537,120,911,859,200,973,671,694,637,781,383,965,466,735,918,699,27,42,882,595,56,708,484,271,102,208,192,843,904,738,510,349,722,180,106,821,862,723,984,562,997,389,567,796,658,383,845,26,964,372,432,60,342,195,466,750,723,421,962,746,251,552,533,709,477,336,503,599,286,263,291,335,626,442,481,468,13,427,952,58,833,252,69,817,291,711,699,560,704,901,962,608,61,363,88,207,928,438,897,28,53,179,34,334,465,304,942,437,164,761,407,202,907,750,584,820,231,434,997,191,331,225,343,546,679,332,57,682,139,358,74,25,389,7,866,799,957,79,77,242,229,569,640,465,753,788,828,200,71,682,916,186,858,325,321,735,504,781,52,910,451,61,464,827,829,89,96,97,254,206,222,213,342,943,91,572,570,185,70,346,554,948,825,548,397,542,580,683,222,273,494,818,29,604,411,503,163,444,273,409,168,500,450,285,575,71,591,967,879,755,664,659,314,137,449,661,883,49,527,744,168,201,680,70,253,188,573,512,487,959,120,989,506,497,80,853,872,579,376,840,291,434,795,552,279,156,984,587,979,672,740,809,882,627,234,71,731,133,261,26,165,404,222,227,413,339,901,211,51,860,791,961,418,94,94,55,74,812,230,526,464,285,973,271,792,522,519,803,303,469,162,698,473,266,886,877,780,901,161,822,134,162,768,106,903,899,893,636,400,30,481,541,282,684,724,185,4,903,467,741,984,903,212,2,55,633,714,788,359,293,520,88,32,281,38,341,714,318,633,129,850,130,142,186,821,632,575,800,128,350,39,907,735,49,376,779,373,68,603,232,157,948,671,244,339,315,760,545,36,991,294,41,912,973,816,91,278,692,77,261,577,721,665,938,274,80,586,806,984,876,954,930,298,309,531,90,18,208,524,211,720,599,628,119,57,780,503,374,800,866,442,271,251,566,648,763,494,784,643,281,454,205,584,710,239,622,841,624,466,406,230,49,67,943,980,226,934,993,671,274,711,203,602,266,508,429,566,424,872,189,64,373,858,848,15,167,263,184,817,617,224,618,501,321,873,970,535,904,612,665,192,447,459,825,833,951,451,48,738,720,745,678,35,431,302,146,730,354,158,778,754,911,765,372,749,423,702,33,156,859,56,660,910,105,432,86,411,979,701,622,866,413,268,388,171,361,381,350,578,750,914,814,768,450,675,77,280,788,242,546,871,972,172,544,756,954,789,94,95,795,446,947,246,20,535,192,51,391,357,898,357,109,621,363,985,153,957,27,311,804,330,648,164,752,212,847,919,1000,973,248,197,103,851,761,833,950,714,529,867,303,124,786,57,348,986,342,925,801,782,650,961,433,327,924,83,913,929,773,735,578,216,853,105,906,555,995,731,870,367,543,203,274,464,426,83,945,73,650,865,807,737,89,88,669,59,729,954,379,531,381,913,679,713,648,895,398,137,237,545,53,136,268,294,870,111,71,523,210,357,995,116,784,197,986,477,280,99,884,629,233,526,492,967,237,951,645,796,619,648,996,20,48,110,493,702,433,944,648,209,635,553,303,787,716,40,542,882,741,235,782,682,501,814,901,375,576,939,405,554,89,699,495,599,506,521,688,693,720,149,342,124,788,621,915,605,49,12,156,422,245,365,570,834,857,200,129,936,403,863,235,810,111,672,832,697,136,548,823,176,789,676,259,921,8,611,804,859,122,555,343,784,884,730,55,259,729,236,141,735,181,706,16,54,992,717,527,406,810,725,787,524,428,807,844,443,124,332,873,894,914,798,341,72,660,732,653,635,219,663,790,569,213,648,854,388,834,995,590,236,619,125,345,885,240,53,614,183,290,876,755,635,973,266,995,993,944,106,776,7,136,339,49,997,545,306,402,977,169,580,270,66,554,125,581,82,803,475,518,883,355,367,941,964,244,56,600,456,859,884,335,138,652,885,899,417,333,350,562,925,706,585,542,884,482,212,234,484,996,345,324,812,573,195,546,241,26,719,978,179,676,897,598,96,302,440,305,116,973,245,352,536,862,972,17,545,348,279,298,932,484,182,183,853,171,973,998,734,885,200,414,440,636,550,814,200,364,151,578,577,857,254,93,721,301,978,784,144,59,602,527,204,443,326,782,599,762,922,269,733,161,965,672,815,380,628,90,273,95,87,38,992,396,908,520,128,946,654,96,934,2,111,107,7,496,194,297,526,686,735,589,244,85,252,783,798,758,229,815,226,458,17,627,793,316,924,816,591,43,126,262,796,357,710,513,429,178,205,427,43,708,949,534,991,508,63,487,509,143,46,985,222,422,405,131,41,268,614,939,597,565,931,742,83,391,914,238,418,122,216,466,814,670,724,936,923,20,645,450,79,974,209,189,149,777,80,453,705,313,886,242,767,612,182,615,575,403,20,922,833,449,874,473,727,586,544,193,209,869,445,489,43,353,779,41,929,119,696,478,626,893,212,323,536,984,249,167,63,338,109,226,496,374,124,846,520,843,896,600,777,364,696,888,143,949,607,151,993,452,965,442,672,696,940,71,544,335,71,540,820,152,992,900,515,529,457,342,409,283,339,879,240,222,614,604,318,101,408,826,951,889,140,229,984,26,885,56,595,122,609,229,820,916,961,912,397,244,805,500,531,386,440,178,290,611,932,351,756,979,381,928,176,138,457,308,97,112,656,193,806,913,759,881,948,813,41,734,980,549,246,863,357,295,397,502,756,945,934,274,505,625,69,159,524,641,581,412,773,751,730,36,350,661,828,786,402,729,910,137,742,905,189,298,802,533,216,572,815,218,374,814,511,67,199,255,740,393,927,829,641,185,633,976,447,897,677,271,417,877,648,836,208,477,485,66,747,163,323,668,536,789,782,463,928,686,329,841,286,59,700,185,621,792,179,366,466,241,503,560,922,402,115,860,558,665,956,58,793,301,316,541,691,659,39,133,115,747,551,627,110,450,177,567,776,997,980,624,456,193,901,374,778,281,707,470,546,376,33,473,581,803,912,114,24,109,958,313,857,541,113,181,596,23,82,30,273,29,663,992,695,253,440,103,431,283,40,740,910,675,965,550,380,686,199,979,18,605,207,837,160,645,541,157,296,627,669,196,244,327,11,518,67,295,754,527,720,935,935,773,26,374,47,332,811,300,45,213,31,7,712,427,813,409,236,447,923,437,717,699,974,626,812,159,9,407,951,268,587,595,622,491,578,570,92,605,56,401,419,428,203,333,37,339,606,909,907,680,876,481,890,463,927,700,977,272,877,661,37,571,783,774,755,977,898,411,595,616,441,567,428,828,154,256,203,870,639,536,537,122,154,814,449,381,977,458,697,706,475,11,303,691,722,425,844,8,666,974,449,806,607,354,712,691,97,912,138,453,185,561,870,644,778,951,678,858,906,241,139,658,646,197,109,448,601,100,79,328,962,755,275,215,663,965,808,96,326,593,763,752,267,32,974,903,904,583,196,193,302,392,650,426,228,329,725,400,247,938,21,644,293,319,325,318,790,859,661,317,97,561,601,745,678,77,184,567,623,251,924,743,675,66,850,857,714,546,847,274,924,259,233,801,175,335,730,728,367,649,267,16,244,304,14,695,585,582,431,728,868,895,790,185,293,510,896,582,659,647,118,299,487,532,8,501,715,537,188,158,563,395,512,84,864,185,593,461,572,521,459,885,314,163,193,352,968,715,407,148,256,425,817,301,987,914,16,454,553,898,174,688,687,92,792,833,138,540,47,257,614,486,810,788,560,452,151,15,889,239,909,428,698,722,154,217,668,175,648,356,727,621,988,889,194,535,619,747,414,331,598,360,100,486,702,861,653,606,657,201,45,646,860,809,147,474,46,712,744,146,873,907,956,186,69,981,662,465,383,195,673,918,217,333,589,490,728,475,247,45,690,50,279,356,367,918,586,856,254,130,913,784,308,540,866,2,424,776,439,464,435,732,596,493,599,104,179,171,984,624,464,834,807,591,15,780,523,124,258,485,700,382,871,587,751,235,801,113,48,23,757,311,878,877,56,521,918,844,628,483,202,293,731,877,438,529,702,458,43,260,541,363,434,380,935,903,907,615,489,328,73,891,160,566,202,430,380,626,74,714,241,640,317,732,546,922,517,742,943,525,251,224,291,932,740,758,769,175,785,150,555,21,598,147,838,734,650,918,75,834,296,980,991,764,465,400,329,830,418,647,365,582,841,686,429,939,871,64,795,293,136,852,862,151,464,913,868,281,852,991,544,771,916,956,822,839,178,396,760,440,90,627,422,208,299,695,540,609,405,39,96,458,701,157,87,452,809,575,932,694,418,986,611,193,864,728,907,878,787,440,614,169,94,998,607,919,951,690,643,548,548,861,504,43,690,686,771,439,963,253,234,822,493,9,70,992,185,407,632,448,815,850,953,732,987,871,226,817,518,780,796,286,946,51,139,461,551,985,161,256,959,656,675,525,651,222,41,27,804,932,54,877,890,694,464,959,730,257,949,683,706,39,347,551,648,505,583,607,980,410,911,949,609,337,952,210,758,54,431,613,851,792,371,866,344,91,53,49,48,933,290,255,644,907,102,885,761,352,850,879,360,779,325,592,413,305,91,853,425,214,813,479,270,343,568,3,480,635,812,874,431,811,936,852,508,324,611,231,48,424,63,865,300,446,597,33,102,704,666,954,1000,752,977,990,453,784,275,361,655,18,418,335,501,304,756,645,872,793,654,681,69,978,100,562,96,40,772,498,9,643,339,22,332,342,701,176,958,545,500,461,160,314,314,521,816,687,676,133,809,455,693,60,805,132,772,232,259,140,411,659,338,592,567,475,353,614,794,840,347,542,399,610,669,972,978,941,106,701,364,538,1000,449,907,900,173,588,707,245,798,263,594,124,72,28,788,990,633,374,884,14,927,446,512,93,477,357,396,767,710,681,327,822,768,527,489,889,481,911,469,148,618,902,277,109,123,233,479,856,329,251,934,31,172,149,690,101,714,288,746,27,919,979,513,252,639,117,228,917,560,332,367,386,695,720,351,853,813,911,573,573,302,72,31,863,255,590,728,170,794,613,769,848,481,874,996,72,639,433,174,947,300,456,452,379,464,810,472,491,736,44,637,48,836,827,819,221,404,332,819,163,707,62,388,769,98,200,358,139,61,684,233,115,839,414,462,139,993,400,562,442,724,91,931,92,976,978,876,64,932,541,357,396,230,801,612,181,105,199,1,470,841,363,65,619,607,253,540,356,570,519,488,906,428,533,155,22,979,956,213,504,829,419,501,772,576,549,1000,878,13,879,409,762,393,992,12,452,123,885,313,643,746,496,600,730,20,688,909,957,372,402,557,360,97,104,716,699,807,351,425,565,349,478,866,997,561,345,162,348,328,68,227,269,18,158,381,165,48,386,568,664,828,249,75,560,986,469,649,719,459,144,715,118,818,321,796,199,777,412,986,327,577,68,102,131,380,272,69,25,343,664,140,276,813,557,395,168,26,70,530,838,5,963,104,790,935,468,792,61,459,150,969,383,285,245,169,137,302,439,163,419,905,244,80,893,211,375,602,91,747,705,840,237,754,848,737,548,485,304,108,721,311,136,15,276,802,157,252,457,433,598,764,765,999,498,940,245,942,481,70,327,780,10,380,482,275,599,260,262,945,612,299,922,253,139,84,467,898,294,766,58,618,225,247,322,594,800,951,59,529,619,68,366,346,119,510,644,95,269,420,835,491,895,870,521,986,224,156,786,282,673,999,747,935,835,65,72,718,493,598,474,390,505,221,285,355,665,256,171,865,541,116,976,340,779,869,783,80,694,714,678,262,887,954,889,883,607,196,983,657,121,416,226,109,269,292,935,921,551,747,695,174,184,950,417,876,858,71,433,543,908,433,420,612,214,698,451,583,115,465,718,614,879,661,960,525,803,709,148,646,953,452,424,232,954,224,323,11,947,533,883,418,838,33,679,389,860,184,646,721,108,200,600,564,921,321,575,654,47,396,538,328,18,380,906,364,173,124,41,597,907,692,8,720,502,478,497,93,264,307,780,986,87,599,408,425,263,576,142,391,995,109,870,620,28,802,639,977,859,258,62,622,923,61,284,570,676,736,739,970,123,534,457,88,133,954,69,517,636,853,819,758,546,202,999,6,647,448,157,518,130,128,857,805,606,168,606,74,315,278,568,852,75,701,307,515,825,269,569,184,401,468,634,219,810,920,620,46,102,602,306,194,845,250,771,835,365,353,217,645,189,146,543,720,944,583,944,326,496,637,215,77,169,385,419,122,238,727,363,946,876,747,918,572,180,940,616,50,137,100,713,322,952,485,675,524,293,184,670,191,560,412,16,532,821,956,61,840,759,72,498,545,831,699,612,855,680,544,954,160,957,235,57,136,669,919,225,756,759,809,876,348,447,832,434,770,988,595,238,68,982,722,348,295,388,330,429,85,784,789,453,272,658,628,949,614,690,966,92,919,134,762,227,894,980,141,833,818,5,997,459,780,729,415,947,10,174,145,312,187,201,14,252,130,615,772,579,891,938,455,607,190,63,624,966,841,59,240,557,756,896,391,767,606,940,260,190,803,645,380,943,797,948,881,810,255,494,662,801,682,935,531,598,164,474,425,989,946,304,790,692,704,559,919,588,64,863,45,364,439,557,721,544,209,725,897,8,561,543,143,91,903,441,543,848,978,922,563,786,1,977,879,354,629,366,790,593,989,850,643,321,263,411,500,738,32,774,734,526,914,1000,82,926,346,178,859,234,978,946,185,662,302,752,442,698,667,21,754,985,738,478,387,801,681,154,538,178,559,729,970,613,502,425,327,584,933,668,567,668,847,808,879,761,168,898,517,876,224,141,982,129,166,964,104,532,537,190,462,212,669,381,718,414,600,20,710,969,436,283,589,526,740,606,367,477,10,141,881,309,44,867,54,688,193,939,478,854,929,922,258,813,335,148,696,14,464,784,585,385,333,472,495,42,344,719,15,219,936,725,322,191,123,856,445,982,163,267,815,623,191,439,143,766,722,112,728,576,745,159,152,583,56,496,484,605,547,224,287,247,42,180,695,197,724,863,179,172,672,116,78,903,502,610,622,773,39,238,163,27,208,212,862,182,56,345,940,48,640,692,184,224,774,134,265,640,275,630,746,356,483,294,538,584,649,711,379,595,728,108,270,439,580,445,498,710,968,216,396,338,994,72,481,849,488,969,1,454,360,864,676,906,659,519,112,147,645,806,768,188,178,782,924,85,492,861,303,119,545,481,77,780,335,859,993,45,763,636,603,481,988,776,107,419,385,160,167,840,544,981,755,945,80,513,301,989,18,891,898,5,553,600,961,132,192,124,717,191,623,793,237,439,224,118,302,811,175,22,785,275,766,57,721,549,98,152,925,445,550,725,60,453,263,355,689,290,515,627,532,880,620,771,288,207,689,598,280,244,77,422,148,115,646,945,817,604,250,476,207,841,756,701,363,162,98,667,654,978,273,55,448,707,371,466,482,87,935,718,706,794,466,210,686,320,891,117,102,522,508,757,469,403,195,857,68,630,459,730,307,1,330,448,645,314,938,848,241,652,835,956,422,463,606,661,803,82,530,218,665,982,269,11,665,915,166,855,488,387,578,302,816,577,942,745,993,852,839,383,18,40,586,634,296,35,397,874,746,620,124,392,918,470,101,672,886,118,658,361,996,699,222,716,376,8,970,595,806,143,490,260,633,273,355,576,529,938,478,794,999,570,943,516,909,617,19,103,30,89,451,798,325,438,67,985,240,729,364,563,231,318,586,102,85,296,3,285,755,362,388,303,565,478,119,513,672,917,622,870,257,547,647,822,889,211,1,614,335,705,331,107,388,785,920,703,585,845,17,26,745,201,278,507,98,888,75,104,121,266,135,417,540,657,463,116,25,37,504,205,584,32,71,525,80,286,538,561,335,209,69,464,136,15,733,405,376,810,290,974,527,23,597,786,314,381,196,299,176,345,170,463,859,158,65,278,386,316,895,368,224,631,913,118,924,188,150,278,702,509,481,608,968,377,637,423,123,617,177,961,772,339,565,629,591,221,148,812,324,161,420,111,164,377,385,565,492,403,22,681,675,558,681,145,990,718,199,263,2,242,844,380,664,917,604,994,377,572,904,511,381,142,177,995,981,65,631,456,775,188,378,836,712,618,410,114,967,577,912,745,57,211,553,691,435,935,486,1000,209,436,792,360,863,289,968,94,9,245,436,689,275,139,302,946,132,280,374,295,993,348,442,221,144,125,88,1,644,919,545,518,985,29,990,344,899,285,57,35,398,450,241,355,907,839,499,20,528,8,493,835,405,669,318,758,831,856,676,395,463,571,88,565,406,458,807,728,761,79,56,245,990,408,8,337,680,951,605,541,444,680,402,60,60,248,210,99,438,270,450,703,933,731,167,366,264,948,717,198,405,320,260,119,584,464,344,13,738,354,423,180,453,559,57,699,789,567,962,24,381,961,88,12,918,455,34,637,588,26,857,984,963,654,498,280,180,6,440,928,777,59,854,410,735,544,9,7,658,848,26,212,584,128,430,483,688,169,649,816,742,251,703,457,498,807,250,269,499,550,986,185,398,434,82,896,251,116,463,262,599,414,586,383,548,387,768,944,764,348,78,968,67,635,736,973,985,906,205,976,650,507,573,891,702,390,130,505,85,644,498,95,409,526,314,951,539,582,842,445,612,813,105,64,521,230,433,867,142,143,538,191,984,565,865,211,494,608,808,606,832,298,560,11,751,17,443,144,885,1,502,328,401,965,897,982,33,172,86,749,272,86,790,937,929,411,673,5,782,711,847,847,79,947,434,799,112,59,165,994,146,585,877,452,597,584,405,763,859,165,73,698,505,448,591,669,5,136,234,104,364,790,834,437,160,732,186,143,847,637,408,770,116,69,197,974,782,479,559,924,138,71,294,747,36,646,325,222,209,944,757,931,632,124,971,189,712,781,915,73,636,87,287,809,485,115,465,458,150,955,459,404,67,868,367,483,362,844,726,871,437,119,105,724,910,907,811,63,487,384,610,16,915,738,3,330,362,348,710,34,627,734,553,186,369,793,353,372,202,948,965,790,576,437,765,682,535,661,730,925,372,601,202,61,704,807,591,317,347,107,1000,110,32,142,231,240,985,302,258,695,644,49,170,805,185,831,430,886,949,56,531,91,783,706,167,428,148,677,787,380,680,91,378,640,72,172,751,941,261,55,975,925,249,760,429,672,968,405,481,283,100,53,516,53,39,315,281,101,6,625,792,801,399,421,857,570,736,883,881,462,415,374,560,528,118,815,360,475,581,433,644,327,178,277,224,69,285,91,487,552,815,237,104,391,762,470,191,792,792,570,646,439,3,261,725,247,372,703,330,778,19,208,418,746,608,722,685,600,186,981,425,485,949,236,105,212,296,526,642,104,275,77,166,427,291,368,984,851,972,326,344,698,722,989,203,415,411,110,73,867,234,400,148,932,759,994,729,873,576,537,248,443,435,620,862,601,958,489,2,38,307,595,758,637,346,605,510,581,530,93,957,4,852,531,72,704,216,918,656,167,511,328,646,505,408,867,944,918,755,886,207,261,266,426,122,904,754,429,297,326,567,991,424,925,323,305,66,587,356,203,373,52,966,782,381,857,265,198,520,569,452,415,349,501,153,883,563,768,328,820,64,443,146,207,594,224,790,161,100,699,37,674,494,668,497,618,550,924,915,999,718,184,956,492,452,200,818,49,162,70,949,779,286,29,395,938,583,719,682,160,107,33,254,8,512,406,889,492,359,296,37,570,89,14,105,63,302,540,942,460,26,803,406,108,416,336,180,43,692,108,490,482,69,814,908,107,676,829,119,455,529,477,17,716,796,305,162,442,953,4,780,319,179,31,578,73,244,86,566,225,467,43,5,375,620,793,485,373,504,434,859,490,492,880,357,593,272,932,166,626,711,497,1000,993,436,536,214,916,467,43,721,490,214,233,490,115,98,375,503,706,790,319,560,181,209,917,263,545,272,543,370,709,245,174,23,967,574,370,480,326,910,862,613,421,707,884,307,961,671,113,715,148,49,42,866,428,538,346,449,832,377,411,411,417,44,708,335,85,826,792,679,27,105,123,940,963,139,474,30,424,383,229,104,372,488,412,758,380,289,774,685,853,365,441,745,656,225,173,192,13,100,349,444,874,742,836,448,861,47,878,46,741,880,348,350,969,121,7,278,333,708,296,26,747,26,890,432,88,525,731,683,828,389,88,213,326,957,955,192,594,544,449,967,237,253,121,335,250,880,586,363,841,916,874,986,695,80,185,69,832,751,90,207,833,904,338,100,844,173,954,198,663,45,470,275,815,169,93,547,762,1000,916,405,575,802,902,518,258,119,466,377,154,758,334,265,729,253,437,264,832,960,965,864,668,881,953,910,890,47,556,99,759,939,556,741,78,946,118,849,88,663,329,665,743,140,125,348,336,929,554,548,792,135,1,795,911,895,870,612,327,840,441,872,517,300,502,72,83,943,443,453,887,156,92,816,637,344,880,615,519,149,496,375,442,828,271,721,102,456,876,709,127,419,354,705,541,294,186,451,329,257,614,252,419,217,856,82,308,258,860,624,405,311,982,825,498,974,12,5,248,888,30,857,474,89,994,971,956,835,966,887,615,676,135,666,93,761,29,873,985,123,683,152,593,631,330,174,146,68,550,436,798,715,740,539,404,35,153,941,618,205,532,540,510,987,216,757,485,259,731,271,963,526,528,246,571,252,667,823,846,759,407,642,760,548,358,641,347,326,59,449,567,112,225,105,421,149,297,863,492,799,675,259,320,440,414,4,657,928,468,832,43,811,156,721,275,881,713,317,635,502,303,605,647,198,79,955,997,148,12,394,460,195,556,640,843,852,36,855,14,435,148,630,532,478,960,511,274,976,262,835,605,13,401,421,527,367,355,524,919,295,815,419,655,538,517,855,776,739,980,668,60,726,12,963,260,2,459,66,350,777,882,377,5,368,293,398,383,758,709,170,613,391,313,53,194,283,541,211,132,111,454,150,410,585,448,709,335,718,978,258,765,364,5,256,476,966,178,509,852,891,522,481,615,685,88,863,535,665,99,85,546,680,256,445,374,15,679,242,416,857,926,236,972,188,290,650,434,112,345,789,449,542,83,10,332,308,276,458,674,567,263,151,44,647,942,714,157,560,52,37,969,394,175,390,68,896,537,287,707,952,18,730,624,327,22,258,637,725,151,787,383,196,667,276,800,371,599,691,528,714,388,821,407,851,739,161,963,597,387,454,944,172,233,516,228,709,75,282,44,148,156,516,959,824,184,964,191,537,766,57,775,224,92,349,448,314,430,671,474,491,308,216,136,848,791,195,811,573,646,247,559,709,620,528,851,541,625,111,759,463,951,387,208,985,782,22,11,615,785,141,27,431,240,806,457,742,7,723,751,940,725,993,51,429,754,230,221,621,539,376,730,127,14,759,306,21,831,120,870,858,61,739,576,114,713,151,911,402,622,568,46,865,897,896,550,332,801,856,131,501,227,998,748,325,14,580,550,202,171,91,973,117,20,374,268,403,418,723,345,197,861,909,577,530,787,705,918,544,702,719,691,540,176,437,111,904,43,152,222,20,785,647,620,120,113,83,924,164,590,523,245,57,141,646,543,640,282,945,128,55,174,603,251,324,271,912,244,181,545,950,200,671,312,942,533,809,7,56,205,858,259,680,881,564,891,185,753,450,737,616,116,364,937,527,371,470,374,733,622,498,396,253,714,574,288,792,155,391,594,844,92,568,440,1000,581,111,355,846,421,815,83,188,704,951,79,759,196,498,234,228,936,148,133,19,202,918,658,352,401,884,50,28,940,185,516,159,849,80,558,449,396,870,792,442,436,966,475,944,942,332,319,775,386,759,961,725,154,487,320,256,293,908,444,834,118,630,19,43,1000,128,491,112,97,464,928,10,267,354,692,395,309,825,150,471,459,863,82,368,963,879,156,184,980,482,133,172,801,994,213,911,470,619,166,782,164,384,533,180,469,774,196,944,876,527,374,450,329,998,741,330,820,443,725,945,302,524,303,276,692,655,275,346,97,255,671,168,305,649,725,494,852,265,826,574,627,35,295,548,127,419,895,478,955,512,156,134,767,870,918,917,819,484,277,996,38,811,111,779,349,857,486,665,209,688,382,150,466,891,701,368,605,62,277,576,588,668,619,293,347,587,123,676,220,3,250,427,93,41,40,251,917,739,879,204,811,39,974,233,243,181,36,806,398,158,512,764,523,566,60,404,953,188,93,396,694,888,736,655,124,557,360,776,715,562,91,884,37,374,458,324,298,817,643,805,254,668,706,419,102,455,405,811,519,983,432,289,848,961,799,228,40,70,82,539,643,854,837,629,97,635,124,296,137,43,680,364,674,231,630,238,234,967,141,895,821,908,45,928,913,450,68,365,263,769,44,580,671,963,860,952,242,869,982,227,812,917,480,993,161,846,439,724,922,23,958,415,120,44,990,211,630,653,257,364,590,500,785,112,814,255,590,546,488,192,950,691,911,592,56,387,898,173,404,405,687,155,435,448,425,12,437,904,170,499,940,591,739,783,332,694,9,114,367,766,224,718,727,986,38,962,366,371,360,29,918,687,860,829,870,486,799,419,670,402,29,253,462,412,901,66,489,228,196,166,622,681,24,832,803,487,952,894,386,613,967,561,525,455,37,48,389,609,639,333,30,736,630,124,669,514,570,811,405,28,127,512,465,18,595,279,733,271,819,30,294,871,987,400,559,688,448,106,47,368,424,410,862,822,244,479,857,413,297,429,840,651,317,893,498,65,293,693,89,851,738,550,87,626,226,53,627,356,486,143,292,250,845,298,444,33,319,86,65,348,982,988,410,484,450,101,227,518,865,677,659,694,15,951,790,90,554,721,702,943,467,418,963,130,770,211,833,134,717,794,183,533,681,338,369,743,685,660,980,532,980,130,336,88,522,324,585,745,529,878,712,578,71,945,979,999,50,250,828,266,992,772,166,895,751,670,585,830,625,729,939,358,363,995,180,875,545,107,400,939,376,870,708,607,129,999,812,323,70,974,732,799,467,5,103,625,821,789,983,303,30,644,550,971,418,297,309,205,450,388,150,883,832,849,822,106,991,765,371,390,11,968,848,901,84,891,216,351,592,568,179,273,848,195,681,475,134,97,30,654,766,869,602,141,74,79,337,145,877,791,995,509,212,802,836,655,429,646,650,99,661,765,896,397,94,429,775,104,425,403,815,202,438,870,751,190,848,348,812,587,572,507,471,346,969,847,128,179,118,891,682,31,745,626,58,617,670,424,896,249,678,379,662,321,190,908,49,223,103,832,578,650,154,763,819,958,19,365,978,960,10,412,486,862,745,897,638,780,966,245,933,357,245,589,21,865,950,152,127,486,64,89,246,731,50,697,915,747,886,132,102,873,470,773,926,315,428,238,484,690,216,50,808,144,733,227,369,719,960,189,970,328,969,947,427,621,227,544,706,749,446,261,618,568,277,487,574,291,18,410,565,997,225,674,145,244,517,567,998,666,565,726,529,905,945,3,316,344,711,104,604,764,974,201,587,565,57,153,806,532,282,705,446,186,86,962,669,779,30,479,330,771,866,95,871,213,348,721,487,803,4,218,26,573,51,734,786,543,21,327,320,363,580,406,890,765,764,704,10,4,289,39,79,816,186,98,202,494,286,757,952,550,973,86,739,672,928,875,178,392,927,651,447,925,117,216,631,483,136,365,233,896,138,787,59,116,535,589,961,26,37,250,393,51,316,74,238,695,663,182,154,268,229,536,351,638,360,725,7,610,325,380,386,87,407,341,565,27,128,531,910,656,711,831,941,770,190,77,435,663,127,557,873,549,997,482,83,280,935,624,687,358,421,633,427,599,794,952,311,913,339,520,7,901,534,844,617,928,5,29,880,385,982,113,336,687,355,770,223,447,747,963,968,982,176,614,113,414,213,65,273,448,778,471,579,685,179,668,515,154,877,517,853,96,479,119,167,101,699,378,719,815,380,547,754,125,427,679,292,901,270,314,528,877,881,868,425,984,32,671,990,383,671,729,909,322,156,173,969,195,931,696,6,382,485,31,61,671,85,757,803,251,846,879,529,936,109,901,200,288,954,728,725,925,653,752,954,792,592,295,522,446,939,208,694,627,348,117,519,106,458,133,72,796,649,944,845,377,476,723,662,465,278,14,460,144,65,330,444,778,676,847,587,741,151,843,145,474,233,749,932,574,388,94,215,974,251,211,786,288,435,652,504,955,604,905,50,690,658,269,119,63,248,440,290,119,784,709,199,563,615,92,720,729,616,157,456,413,834,82,572,223,954,416,415,992,893,961,731,952,710,991,251,306,799,290,346,189,923,999,512,288,488,277,199,100,383,119,180,18,586,850,875,399,646,477,645,285,877,866,316,599,860,166,688,222,268,301,961,477,932,373,765,611,722,643,228,55,720,766,110,366,200,344,830,58,126,18,543,875,871,989,841,768,930,209,788,834,916,397,255,322,306,932,418,955,692,457,411,451,457,39,809,424,588,796,225,6,123,547,351,987,626,934,738,474,128,34,597,451,988,296,612,518,636,594,805,794,619,80,288,884,338,446,140,54,225,365,647,815,637,898,910,885,142,1,398,340,174,38,81,275,475,305,535,312,744,918,282,958,593,885,334,171,688,680,91,780,912,344,296,53,903,607,735,682,877,473,944,800,616,100,879,679,245,542,952,761,354,50,258,512,607,760,675,822,349,596,260,663,909,971,439,783,820,905,498,923,552,37,553,802,385,970,961,728,629,763,347,745,831,117,139,960,171,527,234,127,562,881,94,876,66,502,309,70,361,744,385,557,822,442,571,706,541,104,972,641,581,4,132,554,671,575,875,536,648,708,219,978,459,481,150,399,314,424,481,628,958,773,113,656,271,719,263,440,500,27,950,710,973,16,804,412,676,177,781,995,250,540,534,830,427,394,685,881,233,569,379,422,696,561,968,996,812,815,668,821,206,73,638,918,91,655,493,881,476,864,860,793,608,614,906,156,449,474,588,754,531,499,737,715,897,326,880,500,943,478,580,447,978,444,454,896,970,465,736,590,312,569,759,466,740,47,984,842,511,528,36,568,502,388,48,309,678,997,699,219,261,405,253,197,852,843,956,412,888,316,377,353,324,283,811,530,241,433,564,755,440,466,663,959,251,721,165,734,14,804,15,187,483,348,107,794,817,349,167,767,343,925,437,598,327,650,125,897,976,213,135,827,524,949,748,1000,538,77,782,41,340,443,400,147,792,548,490,913,46,19,237,805,200,798,215,944,943,289,320,677,347,849,665,910,525,792,616,756,187,88,193,514,939,335,404,680,195,53,567,250,139,950,833,107,385,262,418,355,426,35,893,934,793,353,891,759,299,368,226,172,925,633,811,841,715,227,354,439,751,162,498,19,771,662,64,488,228,590,776,548,858,120,141,458,959,383,24,833,515,253,58,408,165,255,716,834,914,496,339,852,740,619,196,453,153,413,755,515,408,257,557,194,203,688,13,680,76,602,419,192,340,983,251,152,403,67,909,775,863,928,653,763,249,728,119,627,468,709,148,99,479,751,269,989,786,916,947,671,333,904,403,782,523,58,201,983,238,102,14,196,229,456,323,11,563,577,337,980,179,898,792,757,953,293,933,249,391,985,327,206,532,134,891,50,343,835,259,120,145,114,141,91,971,495,917,965,82,264,390,807,806,227,755,347,636,372,637,483,700,608,534,47,810,220,434,866,247,447,635,551,224,783,546,940,306,514,675,302,644,134,458,883,436,646,86,809,746,890,598,323,995,79,88,452,944,773,377,782,167,211,107,894,273,653,970,34,587,186,780,570,199,50,281,483,246,740,261,296,836,232,290,12,22,531,455,37,453,509,606,648,158,589,837,611,274,187,36,406,888,22,197,871,651,324,239,578,702,668,363,613,925,611,981,459,342,19,137,932,389,417,485,364,761,245,267,729,60,428,835,445,599,837,220,291,865,92,789,53,149,590,698,583,50,316,130,570,774,231,255,590,806,240,735,468,185,737,594,72,295,802,61,208,691,257,753,271,453,802,461,840,518,576,380,190,252,87,358,747,216,7,830,938,488,439,168,403,799,356,233,132,607,801,843,97,256,432,91,289,490,413,125,535,805,392,975,637,787,255,670,497,260,699,777,539,850,749,499,347,238,547,950,255,871,262,927,563,719,646,932,426,542,364,928,253,471,693,456,810,915,521,722,620,755,148,87,155,203,724,64,895,451,847,195,66,261,281,352,74,331,814,64,53,597,821,255,146,439,677,541,328,399,900,256,739,701,464,878,836,225,428,625,792,920,143,517,620,184,600,853,285,650,340,104,254,989,242,683,494,934,121,811,825,332,693,742,541,266,115,438,55,239,557,347,154,36,678,341,70,887,292,529,869,201,370,317,134,886,719,677,332,550,137,160,709,547,488,979,541,999,193,591,791,372,46,792,262,7,76,431,836,796,614,258,744,939,714,180,913,210,943,914,306,860,309,658,437,468,244,266,386,433,828,102,530,35,93,144,523,73,308,144,300,446,44,575,339,400,166,235,200,405,523,776,600,165,610,665,489,371,588,932,550,880,633,254,723,715,170,991,859,724,373,112,184,730,159,973,104,14,74,733,684,570,156,504,657,566,862,115,295,835,163,112,467,312,84,281,377,616,770,546,182,503,495,138,891,44,247,169,137,965,773,237,979,6,851,913,501,932,511,394,162,697,909,875,197,681,337,971,815,368,542,27,247,33,163,24,989,126,124,659,409,46,841,11,522,450,425,515,266,333,679,912,6,425,724,752,759,847,393,783,461,263,397,771,809,941,242,729,33,991,835,151,645,841,145,228,434,107,853,728,920,533,72,240,836,787,314,218,550,654,232,58,729,643,931,123,409,855,195,282,967,546,616,144,482,465,640,140,415,512,263,93,618,105,705,262,453,989,893,159,547,971,889,432,133,701,350,550,724,661,912,718,6,135,17,841,530,431,651,812,18,370,107,853,585,591,361,328,542,11,20,147,586,775,313,307,159,370,12,523,614,592,824,913,998,876,578,363,484,152,642,641,538,976,62,559,956,419,17,960,689,119,81,230,182,977,646,257,513,293,439,452,288,98,534,479,241,182,171,211,37,198,939,583,370,929,597,765,214,363,596,547,159,354,110,577,943,489,123,298,311,877,212,765,994,912,503,253,175,500,587,515,352,236,434,379,35,286,576,426,759,931,11,23,120,920,589,646,100,173,70,254,993,551,585,368,530,163,834,509,502,71,316,287,717,699,80,62,388,780,197,179,555,751,325,680,112,699,872,292,892,205,311,503,323,166,754,906,463,952,142,438,226,301,341,991,322,499,341,141,734,380,737,436,193,127,237,587,925,299,57,912,250,4,88,107,783,523,717,173,367,226,286,325,712,487,198,595,230,898,407,735,373,723,437,416,593,194,260,236,282,198,245,813,205,119,292,107,162,829,546,718,722,641,797,642,297,440,567,204,110,898,97,331,168,77,558,711,120,606,767,567,206,443,688,67,185,349,516,431,641,541,561,374,909,481,235,424,998,855,807,601,481,358,513,217,920,824,199,835,643,820,583,866,336,546,991,15,962,648,948,604,606,228,261,487,833,892,28,832,200,626,148,163,659,764,318,760,302,202,920,471,560,791,491,792,798,5,59,271,489,452,890,40,402,399,142,588,812,817,170,365,521,700,152,930,685,957,259,247,812,736,541,832,980,775,156,946,208,919,768,199,962,262,835,699,910,814,256,152,480,472,395,633,437,669,668,567,712,307,718,562,483,324,88,333,826,9,88,796,940,588,847,543,802,185,630,637,984,671,872,68,901,508,141,265,920,37,731,227,460,817,90,39,253,542,540,983,804,249,717,619,872,599,186,701,772,97,846,44,586,23,635,211,936,878,904,1,450,784,175,662,930,773,66,873,842,495,234,757,755,711,904,728,314,233,959,63,24,884,463,263,332,660,7,884,545,55,86,945,782,611,662,650,410,481,463,712,35,790,575,753,725,954,977,916,873,105,490,212,48,55,219,912,245,888,192,628,370,171,417,87,421,446,933,827,716,693,982,530,617,141,361,867,339,200,656,967,996,279,385,644,134,557,267,931,85,279,717,924,204,888,583,316,781,851,94,167,514,148,723,168,961,626,800,701,405,962,715,652,455,732,251,362,444,362,418,801,258,655,362,292,70,395,627,33,124,157,758,53,218,685,504,534,136,684,114,238,942,660,925,576,7,113,872,985,477,741,138,448,201,264,863,313,313,244,328,874,906,830,38,325,706,761,393,558,52,676,270,464,196,402,762,775,674,645,976,117,643,706,686,367,92,183,654,828,34,867,612,159,921,873,119,79,398,641,987,266,401,715,294,957,186,29,28,103,537,736,930,188,125,10,734,44,614,847,695,896,343,156,965,525,408,752,833,843,726,941,526,458,389,955,882,375,448,541,447,966,119,771,510,509,909,352,611,280,995,986,773,689,615,962,435,947,402,823,562,297,213,851,285,352,121,565,894,981,265,621,213,201,938,58,123,748,773,43,934,43,161,641,753,358,197,646,135,411,673,60,734,506,498,249,66,28,584,256,795,198,903,724,403,968,69,44,225,461,476,944,657,739,299,601,598,593,81,235,742,59,963,751,464,458,394,673,69,750,357,787,989,697,145,91,108,100,516,524,719,736,815,279,508,916,927,127,391,724,972,259,403,928,363,847,787,569,311,911,619,418,401,696,913,986,21,993,935,596,509,845,413,483,313,782,462,473,134,552,752,248,127,491,889,358,892,306,225,208,945,846,268,936,846,883,996,877,956,42,252,721,820,950,927,899,756,194,81,424,447,835,485,831,212,814,729,532,257,955,90,985,561,759,983,6,839,127,895,337,147,277,562,227,834,20,705,1,370,62,815,890,526,895,977,563,773,312,497,365,863,931,130,600,807,791,373,403,49,130,271,595,298,970,331,816,770,944,978,244,711,991,343,479,709,583,509,845,495,27,773,999,900,721,960,34,899,967,89,940,194,692,564,856,312,215,808,66,105,20,665,718,546,845,185,332,562,973,741,204,520,392,924,123,378,336,260,294,993,680,999,710,181,761,63,996,322,366,141,429,22,379,551,55,364,937,986,914,658,531,45,820,164,752,397,502,746,533,575,225,275,923,489,27,770,121,744,279,504,466,335,345,219,81,120,533,455,402,919,546,907,869,908,795,675,406,208,827,697,813,602,587,661,868,256,166,775,428,522,4,309,981,385,497,646,795,448,675,752,307,770,884,44,742,514,353,615,618,616,433,999,260,358,953,61,761,614,798,168,421,820,276,66,586,867,982,713,768,496,811,809,532,198,664,52,859,668,206,708,98,54,858,576,634,61,611,424,413,599,927,23,604,291,173,921,314,894,795,72,23,506,557,197,352,515,365,16,146,280,1000,361,454,478,906,526,251,751,424,76,852,974,41,991,942,670,495,996,360,837,360,982,247,320,911,482,767,941,634,968,994,578,550,879,842,910,666,206,194,154,258,540,421,273,454,107,258,654,138,576,196,640,586,864,529,128,640,665,518,660,273,748,32,430,804,399,358,102,132,818,644,807,321,283,749,505,808,506,931,869,190,175,807,264,111,907,258,701,237,890,250,290,793,785,390,260,822,675,846,781,828,526,329,677,533,755,683,766,438,947,942,711,924,955,936,333,973,348,872,168,461,20,901,28,174,97,680,570,520,567,786,885,747,196,508,767,385,536,739,709,900,459,653,307,440,332,802,131,972,543,46,879,818,216,47,137,491,576,801,341,731,324,737,270,108,159,334,754,251,834,161,314,205,644,3,232,410,827,412,200,923,210,978,989,489,814,742,154,910,28,713,913,454,737,297,201,222,992,950,856,15,934,832,418,186,652,439,943,482,918,267,636,157,838,670,456,455,800,545,203,644,209,471,661,355,735,597,637,72,260,598,413,295,159,600,199,388,65,752,223,645,457,154,818,690,812,622,54,108,806,923,190,546,514,21,813,390,614,763,431,236,782,859,547,247,570,27,271,880,911,151,711,266,491,316,926,832,181,422,477,724,954,821,935,651,634,386,523,632,774,249,7,77,142,322,625,478,369,521,246,912,397,735,228,184,643,243,10,942,109,561,179,831,944,518,32,556,37,962,705,70,208,515,220,102,555,871,537,372,163,99,438,163,586,54,656,213,491,854,546,128,315,476,448,889,28,58,773,477,849,236,18,261,115,81,714,760,727,961,815,685,691,592,704,940,865,824,998,354,293,263,242,821,289,569,1000,307,635,803,503,479,705,907,737,804,130,401,803,432,436,805,582,35,266,457,309,430,635,512,921,445,543,53,801,127,247,583,514,640,462,221,68,996,226,360,136,579,50,311,359,454,20,934,428,431,64,51,20,769,225,742,330,163,363,206,616,247,86,702,6,985,354,270,588,808,965,239,703,910,735,127,648,33,69,290,593,893,474,808,14,936,410,298,755,839,920,293,137,247,43,321,676,253,262,119,98,765,300,64,775,112,131,10,444,125,777,495,231,944,73,3,84,371,984,973,789,373,924,274,872,54,123,135,945,334,716,543,269,491,455,67,879,33,886,121,178,312,590,446,200,706,615,420,546,973,498,43,846,867,363,413,813,84,479,245,659,900,465,50,311,994,382,115,625,169,706,466,388,889,314,153,661,376,383,631,925,121,822,17,472,129,578,375,453,985,314,424,383,910,359,870,714,688,799,26,200,378,859,905,846,46,74,971,864,214,788,63,506,13,124,491,283,120,623,794,817,132,275,942,980,258,715,890,320,167,912,493,256,103,331,520,521,498,84,262,747,642,992,989,241,666,1,731,28,631,250,734,129,141,707,449,541,583,549,29,457,985,57,468,250,137,141,618,17,305,407,763,884,54,456,713,668,307,667,158,962,561,527,14,219,818,187,85,304,823,731,215,278,156,697,599,941,686,363,3,224,884,590,219,337,524,16,946,167,368,355,797,272,863,359,812,572,368,288,116,228,973,136,152,29,795,225,841,330,724,621,650,183,623,477,240,511,564,323,787,381,9,153,472,458,413,785,100,730,92,719,840,712,576,512,45,729,327,5,914,220,990,599,351,965,562,714,107,597,162,427,193,344,182,122,372,146,796,104,108,629,224,155,39,238,940,354,871,919,824,987,800,286,128,987,847,953,976,290,368,143,424,910,143,877,43,143,736,722,483,512,600,41,369,68,780,895,362,522,233,529,860,925,199,843,585,335,888,19,613,590,318,475,388,608,166,545,650,96,387,260,941,961,785,672,713,595,450,713,369,691,788,993,786,207,831,102,167,757,790,715,773,195,6,601,837,445,938,864,46,154,313,924,303,848,38,283,943,818,99,651,501,28,63,375,272,756,742,351,835,308,569,87,810,672,555,639,604,294,829,73,541,373,85,591,702,15,613,437,731,455,747,313,469,750,70,71,634,180,507,756,177,857,353,857,723,432,809,885,719,931,133,450,972,679,572,487,657,756,665,575,616,365,380,533,707,929,349,953,61,523,100,167,676,704,852,943,928,990,966,908,973,763,481,178,665,396,324,860,905,860,377,798,186,310,625,552,583,167,689,810,805,4,42,784,376,831,338,335,126,422,134,404,719,745,395,655,123,679,538,524,423,658,835,191,118,318,656,98,564,203,495,653,110,902,749,572,573,413,8,179,392,589,865,427,865,720,507,940,637,532,288,870,485,458,86,805,937,978,239,329,163,643,449,731,729,150,977,609,679,289,32,728,878,919,932,216,275,324,186,388,498,67,430,521,309,844,209,582,374,935,402,30,765,962,5,286,676,554,657,983,126,366,716,324,923,232,194,897,42,241,152,957,63,31,532,391,952,666,770,971,675,964,448,662,742,355,864,333,73,591,878,758,150,143,373,855,428,482,405,289,764,316,177,811,286,137,632,852,56,87,463,77,705,915,386,402,849,946,598,629,720,207,370,511,377,202,441,898,471,875,301,82,992,119,897,509,714,806,389,515,608,772,145,842,88,535,929,552,342,775,794,480,735,727,161,216,758,153,580,687,889,199,851,853,515,643,431,441,208,374,654,647,671,173,512,677,988,853,783,668,834,800,120,317,939,700,273,614,988,486,722,14,615,943,47,733,531,933,802,662,634,9,343,72,632,385,710,378,331,785,769,961,170,25,238,763,544,535,752,947,354,23,32,493,604,360,355,337,810,779,584,17,239,297,777,966,908,641,354,38,15,961,247,535,162,416,822,83,53,170,64,957,543,460,370,584,311,675,179,488,898,551,245,676,184,792,805,382,967,384,50,253,24,607,509,209,319,73,339,376,940,350,4,350,409,470,413,902,292,843,709,657,381,746,109,111,410,422,361,982,777,881,669,344,34,830,484,169,216,726,806,237,218,392,680,524,439,703,210,723,332,818,913,555,80,279,735,336,713,313,524,868,900,56,776,516,309,589,48,201,438,763,933,26,439,807,155,837,902,885,507,765,872,880,858,617,923,971,359,47,273,189,564,7,56,483,772,451,688,868,376,351,210,265,172,33,781,16,261,123,344,235,72,214,899,861,984,396,694,487,463,114,473,501,356,606,92,319,519,372,11,422,676,397,20,523,35,799,340,125,386,940,981,403,239,786,895,614,240,97,155,933,13,118,850,347,317,147,699,6,869,52,307,28,914,325,142,767,944,847,967,505,474,724,625,765,417,195,200,776,237,594,983,406,170,682,1000,442,793,481,213,712,795,352,519,449,202,860,823,266,343,932,278,260,776,292,25,556,110,775,269,113,210,96,21,65,751,198,111,684,341,346,493,550,437,830,875,859,580,740,941,406,314,229,636,1000,546,99,861,490,698,409,309,522,473,432,280,540,396,769,252,52,963,234,166,302,659,523,698,877,984,439,531,990,621,992,592,688,997,419,167,22,92,24,499,708,185,752,666,956,624,79,673,772,16,470,265,558,581,378,15,853,636,523,85,12,617,499,624,925,889,833,813,488,199,626,390,142,191,239,13,342,701,601,614,230,373,385,752,842,379,407,759,922,617,537,238,298,330,298,480,854,53,644,908,32,793,29,730,136,74,469,193,488,173,811,490,386,50,522,292,154,165,952,412,354,758,159,229,386,528,108,709,204,691,349,545,92,472,68,299,694,574,361,24,204,906,35,73,645,893,985,679,340,260,384,423,290,261,933,992,59,563,340,936,138,770,55,207,947,479,905,311,4,949,78,675,833,56,489,421,848,276,988,323,761,510,551,288,664,21,412,995,20,601,161,776,799,45,997,567,998,721,531,431,41,744,868,536,63,599,849,584,773,988,344,695,581,551,436,516,243,686,907,753,668,548,662,333,338,430,644,484,804,998,206,315,243,779,13,847,547,343,255,782,244,998,842,824,792,468,776,350,981,971,303,599,229,3,663,160,322,318,691,307,448,1,777,389,60,222,529,439,786,909,182,693,762,757,859,233,432,346,842,200,682,106,445,458,106,672,70,512,226,333,131,832,404,686,76,341,244,145,377,218,305,711,818,296,333,713,479,183,985,628,751,687,346,842,726,260,714,335,883,226,35,645,985,139,107,243,333,383,785,965,444,928,645,876,291,125,10,533,58,295,843,370,86,333,54,882,910,360,762,888,835,337,306,156,89,939,86,987,93,141,390,397,64,746,693,106,911,643,240,536,472,644,704,727,394,720,843,199,193,409,522,930,266,193,625,208,683,171,322,32,752,978,15,131,418,707,779,93,455,97,860,882,106,509,425,163,651,10,717,658,375,774,973,436,625,541,790,815,817,22,9,555,721,284,321,495,203,114,507,358,69,324,5,663,602,236,888,480,565,298,227,702,9,661,245,802,996,639,837,389,981,744,349,246,19,846,933,37,275,275,992,331,927,327,386,693,176,153,187,936,863,297,716,446,222,4,844,756,923,167,536,595,46,244,812,95,541,536,54,185,927,857,60,358,709,360,332,870,903,428,331,804,363,176,52,665,440,447,149,117,644,72,162,56,698,753,461,465,887,721,309,30,557,279,28,636,746,814,199,512,444,222,184,84,980,783,45,674,874,683,142,674,960,577,524,142,168,679,948,773,203,156,60,157,179,449,903,168,972,21,310,966,62,927,557,563,378,693,313,904,260,168,917,94,992,135,466,268,239,795,198,916,157,207,870,655,180,329,120,819,170,429,967,362,995,965,191,277,409,553,670,577,783,548,400,427,955,29,438,262,496,143,135,746,280,998,556,668,927,993,811,987,559,892,548,489,805,65,286,793,16,667,417,647,754,871,808,839,800,41,865,590,281,42,16,220,264,983,621,757,711,473,106,888,981,805,411,207,791,933,606,573,650,842,430,91,989,759,575,647,660,262,971,370,23,476,752,10,722,218,190,334,21,137,83,681,701,270,922,502,6,740,280,826,854,114,327,655,452,922,670,564,550,621,56,628,196,322,29,773,494,864,524,823,860,577,448,836,40,67,110,236,678,271,616,520,297,714,808,672,330,523,978,50,373,489,520,802,966,586,896,9,544,327,916,940,334,256,4,608,92,604,706,378,419,907,415,623,660,533,943,707,321,661,433,90,758,929,479,411,502,72,673,821,90,422,877,227,468,872,722,357,742,18,565,42,654,980,271,824,224,783,732,387,49,524,527,147,41,766,934,408,425,797,234,351,281,392,219,583,195,809,536,52,443,815,591,933,204,809,88,178,941,497,648,817,894,278,812,665,938,416,110,76,71,561,962,3,514,812,446,390,882,732,67,944,664,426,573,608,811,750,843,486,855,228,946,468,192,914,133,464,769,991,221,881,613,232,91,638,717,618,471,463,172,141,309,654,59,840,883,458,652,516,290,671,622,820,639,303,583,670,540,425,408,515,575,408,717,328,735,171,376,775,881,942,452,645,922,394,722,962,927,605,917,949,34,350,531,726,134,569,164,40,491,240,886,609,969,744,947,734,924,852,943,849,892,507,850,822,554,86,808,26,713,885,943,622,642,534,338,891,81,588,601,274,175,558,922,527,927,110,805,968,380,256,936,804,371,412,784,274,118,158,816,302,682,461,624,593,86,284,426,342,816,874,839,881,24,717,420,842,800,897,502,614,800,870,587,391,270,986,285,956,759,630,230,54,238,67,68,571,231,727,949,121,972,811,368,491,355,310,871,166,421,338,342,114,257,280,890,147,598,216,398,755,214,999,136,989,409,961,9,88,268,22,137,617,365,615,418,893,855,319,687,142,623,830,309,437,913,430,91,497,251,150,305,755,904,592,791,659,770,573,868,79,497,677,233,592,415,59,967,498,747,260,799,260,210,406,198,535,429,638,798,729,549,999,156,310,942,172,695,769,264,764,888,917,477,955,12,444,192,710,828,439,877,770,604,323,816,606,259,212,778,252,349,523,319,641,497,58,902,469,826,440,121,190,89,48,271,319,802,309,414,706,628,682,329,700,531,826,624,959,853,34,917,945,178,265,477,215,213,625,146,164,804,615,48,487,948,647,627,151,297,649,264,645,48,296,907,436,392,758,723,81,738,169,710,877,829,163,275,144,804,324,60,235,674,326,349,717,947,63,180,392,963,672,285,177,701,226,720,198,473,590,100,842,104,856,568,837,145,491,534,445,889,105,775,618,913,256,438,525,998,700,597,986,683,118,804,447,251,38,19,75,437,596,891,280,233,24,272,488,469,994,913,871,304,3,359,812,574,142,364,425,416,288,757,139,358,570,193,411,115,802,978,421,963,249,269,62,530,752,761,820,870,231,82,708,665,360,724,768,919,928,786,320,459,126,815,277,156,246,806,885,974,612,919,275,535,454,675,269,273,707,791,746,738,596,217,854,20,279,437,478,328,406,606,520,553,748,207,160,548,568,416,133,186,860,252,941,105,564,425,971,615,629,648,141,321,676,300,661,793,66,384,304,858,615,336,665,957,158,788,390,382,647,164,665,289,931,355,845,694,756,297,394,77,826,38,194,787,426,727,948,914,960,517,399,457,796,493,831,606,602,466,210,837,882,984,625,83,40,539,116,684,104,156,363,726,776,335,179,660,570,262,85,818,491,679,495,993,434,570,502,612,207,192,296,183,527,579,421,891,356,735,510,10,657,681,329,395,550,114,473,268,585,29,161,513,808,311,258,745,642,711,206,454,552,456,11,868,787,677,923,481,884,359,578,31,187,16,281,615,588,180,741,402,964,951,800,509,760,492,788,867,128,855,605,698,125,670,992,399,438,440,352,174,811,59,113,551,630,610,850,691,605,285,880,202,267,953,727,345,848,443,549,896,572,495,799,361,232,488,438,737,661,681,368,730,565,45,16,177,575,40,904,213,957,254,65,404,942,607,150,359,378,253,280,67,778,267,190,15,693,382,268,475,628,752,207,256,880,91,170,876,352,62,902,686,665,921,535,416,589,362,614,102,733,428,190,706,995,504,8,656,379,28,803,287,440,817,726,490,826,764,455,312,139,215,386,742,819,581,967,674,193,583,157,367,804,710,225,603,369,564,161,413,37,663,189,431,78,842,616,889,811,242,667,48,614,3,977,64,80,716,169,90,489,184,150,420,426,429,802,166,890,950,84,500,172,946,109,905,730,228,38,889,490,269,780,712,288,578,58,487,7,85,761,961,545,259,547,887,716,669,789,940,58,239,462,187,204,240,19,183,915,193,533,498,669,184,321,56,862,358,968,929,510,873,816,629,670,612,154,588,581,77,883,737,107,462,900,245,682,848,653,856,531,146,245,148,581,654,179,528,763,459,334,882,768,342,147,819,480,454,218,927,400,867,338,773,12,697,932,112,951,454,696,767,379,762,424,63,326,841,206,761,86,380,309,309,906,4,523,670,494,648,921,810,770,713,98,985,322,231,654,298,683,645,121,369,267,157,951,12,27,133,980,124,603,606,846,50,874,411,938,561,674,830,439,155,930,917,34,870,389,614,915,357,524,926,480,863,76,28,685,885,898,819,406,757,729,755,806,71,49,339,406,954,772,967,133,171,523,475,580,900,589,852,666,201,145,8,102,655,131,106,763,213,25,397,549,395,486,551,734,343,952,242,51,484,807,359,617,434,26,259,47,168,577,954,143,953,225,61,673,717,950,133,798,409,458,931,228,478,289,917,995,87,404,443,743,152,896,659,610,289,675,917,170,687,917,163,583,949,224,560,8,625,243,963,91,865,805,635,65,109,392,21,867,743,782,528,391,317,924,156,452,654,632,597,988,45,130,818,968,805,140,108,507,196,241,348,857,694,284,429,250,694,790,751,397,348,489,357,918,208,255,838,351,231,504,907,681,273,754,393,507,957,403,490,795,451,646,784,800,285,327,2,645,313,280,578,528,153,526,722,540,964,860,544,980,223,351,160,683,39,777,484,433,173,544,744,294,66,816,839,649,464,863,446,361,830,559,796,675,700,46,545,88,266,545,293,95,44,35,801,10,710,621,896,105,818,98,179,106,661,889,404,463,50,958,587,437,998,50,391,124,511,786,969,851,426,704,709,652,905,438,881,137,867,667,723,319,571,921,125,812,295,228,839,401,1,871,703,159,660,589,202,417,738,918,284,399,280,619,795,391,897,350,374,259,427,139,97,645,900,206,542,222,305,541,290,682,676,928,874,169,335,867,600,888,327,36,394,766,285,777,486,37,252,246,754,746,282,62,853,459,623,541,876,401,752,168,878,373,86,656,308,363,807,169,113,874,824,71,480,500,40,76,539,585,363,704,303,523,206,529,888,583,183,805,814,377,89,602,757,614,246,460,143,126,670,943,516,719,271,940,842,142,159,62,696,889,401,505,177,637,516,767,403,162,256,683,89,101,102,627,687,502,613,950,264,605,174,213,444,990,853,932,151,554,743,200,713,475,542,717,8,816,519,681,413,382,865,228,61,27,87,220,871,135,920,168,466,640,581,262,498,436,423,799,663,974,864,689,279,419,710,541,652,78,830,974,352,382,429,535,377,173,710,247,372,471,227,712,628,376,123,130,403,388,270,557,337,718,507,882,550,333,416,523,684,331,297,109,43,741,676,448,852,182,889,271,423,329,145,240,156,824,20,881,401,316,459,294,678,44,581,925,212,577,903,40,827,216,609,446,801,834,58,665,167,906,897,289,820,994,267,108,511,115,644,521,393,575,972,517,185,997,579,519,205,555,709,607,997,469,743,136,573,86,587,593,650,209,135,526,87,866,388,635,310,645,209,222,462,378,226,258,368,345,533,403,146,1000,662,333,328,323,745,273,153,175,625,914,130,484,946,987,68,261,732,775,550,709,454,442,432,172,97,22,820,681,520,300,277,862,247,938,781,880,967,980,86,930,655,511,585,553,192,691,903,391,208,186,452,755,860,880,671,16,919,128,71,119,80,449,126,758,8,681,334,74,947,31,190,877,531,127,552,596,140,484,674,366,856,320,264,261,640,638,953,217,461,749,538,223,601,285,525,803,985,267,133,762,380,886,709,96,464,343,480,716,420,615,678,984,312,497,187,20,794,420,378,728,980,125,635,114,415,791,262,793,340,486,354,151,492,993,816,723,427,948,240,61,70,669,773,85,271,554,467,677,403,311,746,770,64,939,589,541,848,223,910,871,180,123,369,294,683,857,7,341,39,85,39,547,843,318,310,466,868,859,729,574,128,343,994,153,341,952,512,390,859,31,880,148,924,122,391,823,403,38,788,342,443,579,165,291,697,4,981,839,443,899,957,539,430,413,177,373,731,586,21,278,585,742,942,322,411,195,161,952,77,738,221,916,8,916,901,80,348,197,773,706,374,102,81,205,311,361,251,288,195,298,559,220,583,289,888,603,596,415,438,95,991,576,468,930,403,373,961,356,446,883,411,44,675,248,42,157,611,564,474,515,601,640,857,658,148,15,634,573,928,190,931,140,992,414,702,6,55,512,327,415,997,926,4,350,895,356,702,874,255,219,345,306,127,504,297,643,615,672,371,739,5,409,126,384,185,559,14,537,367,247,605,969,91,719,586,502,381,756,939,972,216,678,493,389,349,116,171,489,509,312,463,642,654,652,533,629,492,490,645,176,303,338,571,242,659,137,870,275,56,786,285,799,378,641,325,450,990,676,444,586,123,492,526,532,408,271,81,187,357,989,728,962,256,729,521,883,815,465,901,582,443,476,355,118,232,171,624,422,69,541,17,762,150,751,125,993,82,553,322,536,523,632,187,925,283,704,721,726,676,127,397,397,916,357,154,981,587,472,485,904,416,222,930,918,976,410,821,831,384,523,126,882,387,331,419,527,199,651,439,269,701,424,200,757,176,183,147,208,366,300,336,324,444,461,218,856,927,535,732,996,888,579,707,116,813,85,305,92,478,779,389,404,57,418,888,582,411,248,101,95,79,148,992,859,760,571,46,260,698,321,895,906,814,423,953,861,405,323,215,205,995,957,545,147,59,290,945,671,999,175,199,249,213,343,305,63,609,979,988,550,871,369,87,301,190,313,593,348,210,206,685,524,967,87,609,657,433,33,490,284,813,639,87,146,94,676,189,742,409,36,952,802,779,185,805,150,276,846,64,291,749,177,581,80,223,184,933,832,996,214,822,774,584,688,992,564,341,283,266,655,181,906,5,353,334,408,44,511,164,624,725,21,535,297,346,606,237,487,521,497,119,526,786,729,13,147,447,451,572,204,63,429,225,887,202,700,230,246,787,943,130,252,666,73,314,240,17,248,591,657,462,497,497,40,738,18,964,774,366,584,343,542,138,942,339,292,956,229,957,584,595,973,857,2,469,475,450,228,811,453,242,129,814,382,808,484,262,114,314,877,419,873,525,128,560,342,389,315,338,158,183,821,275,190,914,891,441,945,543,690,283,785,76,941,217,607,281,299,534,102,423,481,782,219,409,187,10,849,147,945,338,791,894,929,891,225,112,55,986,596,814,860,987,366,31,899,229,435,667,651,219,464,866,404,833,327,374,413,766,383,490,469,399,483,414,849,269,813,814,353,203,136,714,652,49,562,337,90,804,816,729,732,251,798,636,854,772,607,505,216,101,34,555,298,428,158,628,243,812,375,444,661,89,536,872,899,78,269,106,167,616,361,505,527,652,53,528,51,707,202,717,551,736,664,225,639,159,997,788,114,230,276,343,885,382,707,871,787,416,157,268,591,728,731,170,351,439,77,150,397,582,926,402,98,931,306,984,825,956,858,664,738,742,161,698,299,103,441,690,135,393,840,60,270,426,174,850,521,255,82,26,809,655,817,752,538,755,80,608,318,977,890,650,118,902,85,548,891,200,72,542,475,710,514,301,323,149,506,567,826,386,33,784,585,733,616,347,727,605,660,470,994,306,526,170,530,203,758,927,72,735,200,872,494,323,474,884,104,392,804,414,203,179,49,556,992,572,367,30,721,8,333,194,564,760,57,321,903,983,415,328,948,606,808,631,615,223,367,822,208,332,629,343,828,644,14,705,486,134,254,99,518,258,630,896,1000,318,980,145,558,913,565,404,336,578,901,119,239,705,585,416,953,886,246,668,894,112,92,622,463,106,25,483,309,999,127,846,932,442,864,143,54,333,275,914,632,643,571,560,739,464,495,926,364,270,838,31,889,800,307,886,256,270,419,321,87,856,439,512,440,273,866,59,563,838,294,574,439,935,482,462,693,818,30,818,586,707,934,435,570,58,912,920,199,71,440,565,810,570,997,782,472,986,182,393,900,950,360,34,943,537,884,160,550,942,955,128,188,414,791,817,106,788,548,141,932,324,411,173,5,422,695,906,6,689,111,702,262,70,812,423,207,255,708,833,780,529,259,746,769,618,533,739,428,10,301,106,40,355,757,866,595,583,640,725,287,282,142,385,486,727,974,141,534,591,526,952,408,813,217,121,509,8,876,881,771,861,120,889,540,616,448,767,739,72,631,191,921,658,653,971,700,94,36,334,776,182,117,19,487,475,631,464,449,620,812,763,270,727,42,6,255,441,466,625,163,378,42,505,99,863,657,497,342,58,41,422,165,57,26,447,178,141,204,226,110,190,980,81,984,221,883,881,184,89,441,704,29,116,403,95,274,533,144,290,105,190,426,752,293,959,157,256,615,595,997,739,85,862,511,806,83,151,104,327,316,334,334,89,732,334,137,576,51,855,454,439,781,707,195,91,235,163,923,769,479,245,692,498,742,8,51,449,414,578,783,365,746,869,938,597,273,495,693,21,683,982,68,362,923,172,445,11,827,517,881,314,209,568,832,156,864,622,542,857,372,89,469,558,828,797,970,127,177,830,376,294,370,932,926,557,409,105,809,85,849,485,332,21,182,722,995,880,409,428,981,701,637,743,919,836,945,14,264,260,822,457,207,52,121,577,425,699,188,938,847,887,834,168,471,304,373,180,678,549,535,337,551,409,969,723,741,541,324,890,564,103,448,169,787,950,517,431,115,111,332,353,551,451,555,81,58,973,318,525,227,262,502,618,244,319,447,304,491,104,40,633,283,630,325,385,293,417,442,893,105,920,276,767,357,104,138,470,635,941,446,478,916,106,284,251,805,766,169,779,811,717,697,594,34,518,20,849,807,768,533,211,98,902,5,605,709,672,706,596,504,441,597,566,625,64,632,839,54,704,970,37,697,489,664,401,318,744,594,45,783,215,685,550,472,718,707,100,937,156,296,336,343,881,411,642,776,390,244,30,748,850,167,781,328,433,432,577,941,489,635,956,933,794,371,723,367,973,932,707,265,500,601,378,449,98,938,382,458,623,92,959,161,650,709,234,562,694,585,181,503,167,393,545,880,111,760,284,432,367,29,923,18,720,765,228,573,821,2,293,992,297,858,333,59,563,643,107,613,903,496,91,784,200,145,340,102,831,274,486,77,401,116,622,617,131,452,704,423,968,383,507,349,81,706,246,764,445,215,916,825,794,908,927,773,390,937,845,151,683,216,88,945,698,332,638,760,328,727,829,551,315,778,864,853,714,552,654,711,896,995,72,536,713,51,318,25,434,94,235,731,185,908,62,410,489,370,111,978,434,53,178,491,715,973,893,627,684,483,344,382,147,624,728,297,239,189,83,672,514,596,200,260,670,168,471,837,873,466,898,367,145,320,243,845,379,525,400,979,112,249,941,300,439,315,12,41,22,877,779,478,789,33,438,852,612,264,749,758,866,483,870,12,386,108,690,126,909,561,16,22,382,534,88,534,383,294,796,276,446,994,299,774,920,981,237,511,390,465,219,349,142,168,845,704,930,657,910,287,551,525,314,575,251,272,105,173,801,164,546,162,132,855,555,47,879,209,65,449,940,975,334,906,153,846,722,281,127,342,54,621,267,604,462,937,598,262,996,962,828,815,916,136,332,662,188,572,766,211,255,710,699,722,146,774,974,803,137,40,396,256,585,302,747,606,369,895,159,693,855,20,413,599,175,316,406,309,821,265,658,126,176,636,1,180,850,432,407,412,981,224,184,720,960,98,901,848,513,748,402,855,884,656,1,991,524,272,837,377,844,6,51,388,182,742,214,365,188,858,433,86,607,777,797,48,467,175,209,616,895,851,448,422,380,383,33,282,370,263,198,844,227,500,766,610,548,987,918,902,540,109,980,452,61,115,409,585,705,376,178,986,543,564,388,1000,325,883,433,339,322,482,490,1,99,95,709,512,375,765,384,813,340,511,930,980,943,609,18,690,769,623,806,550,526,774,492,786,924,130,480,77,740,671,358,353,171,898,12,246,945,370,469,722,932,778,465,776,897,936,171,105,721,768,185,998,554,159,702,595,367,685,802,827,816,178,435,543,763,999,955,265,83,75,732,708,205,912,285,987,156,105,152,686,329,815,677,711,842,359,602,528,193,828,246,620,641,725,609,554,595,536,250,747,229,269,548,980,539,665,547,253,802,602,292,478,89,839,683,140,330,927,785,440,675,470,619,576,413,613,320,326,741,392,316,868,674,341,56,103,164,289,750,83,623,367,669,217,71,296,779,399,112,338,556,308,83,90,647,715,833,691,142,588,244,307,887,174,298,207,138,260,728,319,269,149,164,136,413,366,631,322,139,926,624,202,94,539,681,506,33,857,208,277,50,993,403,304,208,460,256,764,409,275,134,349,438,732,122,962,25,778,302,404,515,672,665,267,825,411,270,820,760,319,143,649,958,432,264,400,848,301,649,663,506,668,41,303,376,329,849,821,588,413,683,709,165,946,505,262,832,283,38,637,982,440,789,322,318,971,90,793,771,688,83,181,172,308,819,32,10,513,275,837,874,462,394,700,32,317,573,201,661,614,683,988,710,327,656,510,55,40,363,436,337,89,394,403,835,43,359,850,150,655,608,659,397,872,490,5,471,450,279,960,363,139,747,105,666,169,423,884,3,256,123,776,355,336,398,73,227,694,505,29,1000,593,297,691,995,770,391,721,301,63,960,143,652,834,555,537,564,946,127,956,229,417,873,367,932,935,194,169,979,292,931,260,32,431,523,405,590,568,196,154,188,652,870,566,527,963,340,518,249,125,71,216,253,547,1,948,159,954,640,210,756,296,21,205,768,339,229,830,498,877,781,3,17,142,366,123,676,722,476,740,837,17,517,101,612,588,687,430,61,679,289,131,310,375,39,957,589,437,707,127,957,409,288,862,41,482,183,271,223,627,181,950,679,899,853,222,344,253,815,25,347,57,498,647,427,126,136,224,919,312,578,377,479,54,687,813,805,175,825,135,808,887,419,487,316,2,828,761,160,850,832,119,44,947,946,887,476,991,91,345,1000,688,113,311,101,968,584,806,237,590,135,93,190,773,850,289,11,135,394,274,384,375,714,994,531,992,549,155,787,605,92,808,956,336,889,749,432,573,434,50,1000,961,558,121,685,40,342,925,616,237,46,185,980,958,725,456,461,733,858,875,551,637,831,734,414,750,306,239,585,763,695,712,313,151,861,636,473,200,243,231,746,745,472,373,806,697,474,579,256,35,997,472,903,410,424,931,903,461,771,985,133,50,943,458,694,241,982,758,14,728,227,170,566,725,691,601,152,816,559,113,172,47,145,979,8,682,161,553,15,626,750,521,607,64,893,104,834,825,371,212,462,254,722,848,530,835,738,606,968,956,913,413,962,960,224,870,834,436,242,925,346,24,427,284,246,368,407,726,823,651,526,562,574,211,750,799,941,196,425,387,613,964,21,362,958,945,851,902,761,268,333,991,366,912,261,653,974,144,59,407,197,675,747,896,739,676,986,118,536,749,175,331,61,279,637,633,288,906,468,578,49,424,794,327,236,134,834,707,229,836,727,73,248,454,139,7,253,8,270,355,295,194,219,413,554,642,378,628,504,3,483,16,539,109,113,414,304,22,247,23,594,767,351,18,38,885,827,345,371,611,412,997,487,724,489,162,134,868,376,570,529,361,432,719,743,808,186,609,112,140,310,299,363,662,88,543,521,952,399,646,191,613,837,894,382,611,901,29,47,814,98,95,852,340,653,119,148,950,35,127,8,379,143,41,664,672,204,117,631,755,20,146,74,419,723,194,473,575,459,522,443,165,89,154,342,758,152,736,41,691,897,938,62,862,830,861,6,111,271,238,343,269,564,489,676,747,151,988,905,407,734,553,663,509,182,314,443,442,497,172,472,262,336,83,510,140,330,917,453,465,415,471,239,567,873,878,687,832,596,179,202,97,870,20,140,636,361,760,265,542,38,626,493,766,190,522,701,726,319,951,378,866,973,442,715,495,218,982,373,956,972,517,722,547,417,46,865,168,251,607,107,87,293,118,27,393,517,399,662,938,761,706,683,57,341,583,753,271,246,895,142,869,786,682,169,506,284,921,91,522,360,135,181,316,207,402,298,70,987,313,843,572,572,277,651,782,512,880,772,295,450,421,944,459,773,750,513,807,633,687,718,363,104,615,640,973,574,575,788,840,772,988,242,363,368,91,480,556,803,465,914,149,129,646,472,783,431,372,930,272,362,340,340,479,457,992,141,781,640,582,658,776,648,747,312,229,249,751,6,854,923,465,227,24,758,20,511,230,829,264,904,611,458,620,20,616,291,375,135,160,46,466,205,576,827,988,949,757,321,626,109,846,357,18,785,446,307,844,2,292,43,695,218,646,691,243,737,856,492,896,645,669,875,26,101,136,269,549,881,607,70,11,25,325,469,165,735,516,87,28,928,345,197,317,215,126,872,179,321,883,1000,30,577,487,435,978,720,9,583,425,897,92,647,816,555,252,638,205,503,580,395,312,438,965,153,636,406,890,514,769,177,313,498,697,203,640,785,468,644,302,25,70,677,766,612,900,779,799,820,546,602,189,37,239,76,144,850,830,593,325,87,603,819,646,867,295,671,219,530,544,919,521,670,339,877,324,655,458,528,50,32,977,692,885,64,262,334,848,355,71,886,533,869,345,1,593,508,513,157,57,511,56,21,872,167,171,754,679,162,123,270,652,101,849,79,805,713,550,388,133,315,97,286,550,441,698,686,224,232,152,391,14,550,853,421,138,519,872,599,975,381,910,973,208,884,906,301,137,482,991,759,427,153,411,359,967,515,312,824,40,534,32,328,501,872,549,735,845,347,819,225,32,638,290,599,677,490,540,410,925,262,175,965,485,536,904,738,515,74,909,26,700,525,192,545,715,345,588,512,818,108,466,255,894,123,222,161,178,721,36,901,127,28,96,705,689,696,44,513,158,761,889,279,611,364,5,511,453,135,993,531,155,328,9,893,436,575,402,996,904,386,332,589,335,641,629,352,654,757,540,906,227,204,509,785,260,364,543,167,457,269,103,845,100,645,997,331,87,884,647,529,329,539,265,352,465,4,158,659,455,88,136,929,585,965,386,105,735,742,608,150,745,937,274,60,699,968,136,944,343,846,465,475,168,478,243,502,369,101,747,615,486,268,259,843,649,470,371,841,37,621,7,457,80,597,205,786,631,248,728,409,702,294,704,504,46,451,838,694,615,752,901,118,287,316,964,833,134,897,205,145,490,344,148,540,351,160,276,783,970,612,817,925,210,106,945,95,74,186,986,218,82,333,652,651,586,613,135,574,384,66,382,399,924,575,960,826,419,322,952,990,672,414,12,913,32,260,959,359,774,453,504,31,890,575,784,377,484,514,538,29,513,318,692,757,129,82,758,394,453,530,794,161,554,190,651,36,711,233,991,566,514,76,576,84,980,761,945,261,932,896,232,794,843,190,452,743,55,221,332,596,802,513,553,863,48,33,967,487,428,807,927,79,450,828,916,964,517,4,918,923,954,211,744,56,356,714,771,339,153,485,921,608,692,380,178,455,24,82,894,284,951,287,922,689,446,292,344,309,204,408,705,888,989,245,143,611,939,31,783,370,996,421,918,829,426,491,289,635,455,752,826,864,472,216,345,789,383,177,149,754,294,83,841,849,684,981,990,43,142,956,880,796,920,81,304,110,252,612,881,450,815,304,136,702,397,443,316,456,484,768,215,401,561,240,104,234,623,522,669,891,198,771,592,910,818,190,224,187,883,626,930,595,935,851,924,912,484,528,587,551,30,175,843,123,54,525,356,926,339,105,690,394,773,128,860,628,113,71,928,454,254,847,139,394,88,93,479,544,123,689,589,275,418,537,727,606,651,952,33,398,969,571,742,375,104,104,238,711,444,459,876,105,489,797,400,754,794,709,177,110,331,185,303,525,196,651,608,239,315,884,635,92,971,419,956,325,478,612,884,983,730,560,199,965,528,115,373,548,816,591,556,530,381,120,191,250,908,267,356,66,256,168,275,346,772,673,554,696,916,597,396,466,373,439,477,117,490,133,26,792,560,599,503,171,639,781,806,832,534,460,174,79,120,182,320,796,133,862,155,994,589,502,342,142,750,192,716,538,351,963,613,428,74,374,428,862,130,764,216,17,51,793,678,355,641,412,618,439,894,333,92,239,946,582,421,314,612,571,139,33,921,975,564,43,9,218,722,751,396,675,735,231,681,742,659,837,443,813,210,258,428,255,494,952,141,414,155,100,817,348,564,440,197,456,216,403,107,651,388,569,700,413,923,160,748,544,796,867,862,866,544,241,712,669,228,18,40,856,821,815,400,181,479,628,583,158,939,142,996,561,725,9,463,990,825,748,719,461,350,886,739,787,749,561,852,200,265,802,126,973,363,833,151,285,595,728,285,453,480,699,762,514,764,748,808,549,55,34,532,374,427,380,430,128,33,20,464,975,416,898,572,114,508,431,725,291,992,317,507,114,550,286,46,723,752,160,309,734,999,690,605,705,397,426,326,835,471,310,165,433,99,492,750,433,292,657,16,464,592,23,785,94,777,433,291,42,593,293,925,710,36,552,463,765,271,262,821,658,745,68,409,679,308,161,333,26,723,59,727,861,900,858,881,843,935,23,234,230,403,623,774,550,296,253,470,167,967,533,558,448,100,159,981,767,250,801,174,331,903,255,846,252,109,310,208,385,557,977,90,865,178,309,456,782,557,600,827,326,451,755,613,977,688,781,878,58,533,635,371,187,958,166,440,633,766,711,829,111,139,278,315,399,215,334,727,694,366,801,683,78,938,247,113,642,585,733,139,93,738,411,554,597,816,735,402,110,428,974,952,105,46,717,438,43,897,168,231,840,825,62,713,935,492,148,935,706,701,602,826,624,223,699,417,527,431,845,638,507,701,212,576,959,337,900,458,515,776,435,137,673,843,729,154,873,350,87,856,949,853,268,443,527,405,101,365,831,504,569,92,90,478,879,154,940,891,506,861,889,883,567,92,602,989,636,539,967,385,410,73,901,560,275,596,973,524,582,867,560,64,9,94,121,316,786,307,994,425,483,233,518,14,350,134,59,981,109,835,599,279,74,546,606,866,996,851,711,483,395,806,678,592,758,169,412,258,185,630,903,578,449,729,526,666,900,990,586,760,492,560,785,669,652,752,235,948,326,510,206,228,68,664,32,851,477,460,389,765,267,535,17,118,571,24,845,688,716,586,233,628,956,900,624,401,804,786,631,22,112,898,225,451,327,451,968,779,164,388,306,731,156,479,873,253,658,732,994,39,896,793,315,159,877,648,246,150,160,665,545,597,152,954,542,500,298,199,50,825,358,149,696,765,78,262,186,971,13,596,906,484,471,76,676,588,273,551,149,863,505,321,353,135,505,365,491,655,709,297,959,365,667,730,307,515,674,917,423,296,725,151,709,102,690,468,680,956,836,926,161,348,638,478,276,325,620,758,445,977,441,252,661,698,137,979,307,806,713,853,794,139,338,204,604,490,727,373,314,324,27,766,456,558,415,175,31,226,687,580,631,800,757,433,183,388,435,692,725,364,926,778,442,697,111,276,360,3,185,387,655,937,560,330,684,116,816,383,975,130,308,920,281,929,369,329,495,194,689,797,547,237,398,560,560,501,949,768,739,559,742,259,925,622,253,689,329,121,754,158,234,903,505,411,472,437,964,759,736,205,186,284,183,849,52,790,164,41,644,779,966,328,131,515,239,670,505,79,775,612,285,270,532,159,171,482,694,640,735,914,494,906,466,691,23,627,642,641,863,981,486,488,128,894,616,707,275,545,686,713,623,942,148,158,152,28,11,540,55,783,363,330,466,162,533,814,173,117,846,393,48,315,173,287,949,525,75,996,892,816,502,478,850,359,869,172,678,441,686,505,656,308,902,18,688,91,947,777,490,244,617,46,489,499,278,827,630,969,538,19,770,450,155,110,753,362,538,175,835,439,371,624,372,992,512,200,697,137,624,459,145,959,982,331,745,610,632,960,175,11,220,757,50,136,90,228,660,987,797,503,826,486,624,104,104,291,208,159,598,101,366,826,631,242,196,556,747,953,934,118,450,204,586,423,395,736,601,956,914,315,597,115,576,503,501,968,332,327,293,618,923,434,496,66,973,166,494,763,628,576,196,167,593,720,979,807,728,403,31,300,32,10,896,515,182,70,127,505,206,344,939,246,131,476,753,353,904,174,756,695,976,32,804,151,593,200,705,677,903,743,141,45,293,497,851,705,504,213,735,496,294,14,851,136,489,351,1,695,331,861,527,58,596,971,421,877,420,878,641,30,658,632,43,4,903,20,61,798,91,632,978,231,452,621,4,502,451,424,457,681,831,676,459,924,313,969,898,134,1000,417,734,143,720,825,535,450,959,195,435,823,25,397,1,893,473,249,351,897,90,898,429,937,293,618,14,67,518,901,11,916,792,48,618,805,911,97,782,400,304,175,713,146,843,725,368,335,243,350,117,667,252,231,314,655,543,700,63,74,398,832,746,970,65,72,15,649,233,707,257,24,898,597,373,516,460,951,330,731,948,801,266,639,344,425,949,713,75,105,914,805,960,695,108,979,468,287,263,207,946,22,278,37,858,13,893,363,685,218,829,503,799,99,237,463,514,300,146,503,115,36,984,381,876,79,742,458,829,309,17,299,165,267,624,782,125,618,689,52,230,900,206,295,382,200,25,997,786,739,623,652,856,77,43,782,938,329,232,504,65,570,226,181,738,459,265,502,178,758,55,721,833,350,539,51,306,68,19,189,656,943,953,380,620,379,150,466,524,491,685,649,257,368,105,270,802,193,527,579,943,79,446,700,394,626,154,205,42,499,986,513,980,610,655,396,861,979,428,404,163,36,511,212,922,963,816,236,258,706,625,502,750,996,796,375,199,630,381,869,123,831,514,872,817,765,405,989,592,453,111,442,398,94,392,204,624,269,386,326,216,796,887,326,391,680,358,894,355,722,711,556,497,591,51,357,503,630,960,969,648,803,390,472,247,584,771,494,239,542,64,356,325,37,802,558,756,576,302,725,875,206,650,502,726,885,460,344,849,669,944,861,364,592,317,248,2,376,594,433,846,143,961,227,623,656,533,560,406,534,501,653,567,49,616,69,902,599,460,39,841,612,197,556,944,892,166,242,549,767,362,281,445,620,528,673,684,102,127,976,677,495,97,884,898,705,825,306,625,155,511,320,625,352,793,390,642,124,803,418,944,116,795,235,965,344,139,488,116,151,741,56,996,46,343,120,286,393,496,85,964,306,437,471,641,831,894,574,677,361,466,419,237,137,360,275,660,139,711,778,997,214,607,709,753,613,909,43,572,61,864,100,881,967,108,34,757,383,200,667,808,632,828,431,843,703,830,711,832,632,70,386,876,186,795,970,936,470,432,785,511,570,803,27,834,708,57,313,203,976,83,308,373,107,770,220,219,497,894,214,433,342,423,569,908,364,596,907,652,654,632,24,239,163,889,331,791,509,573,327,484,685,524,348,183,337,742,248,464,753,670,991,203,596,206,930,727,732,140,413,259,435,571,604,616,545,16,376,928,798,697,348,427,786,78,533,859,814,343,526,980,772,772,91,912,886,497,421,838,222,175,340,230,746,18,496,878,379,422,965,895,215,216,662,909,313,271,994,419,940,394,230,839,696,958,202,323,745,71,803,188,271,267,128,522,83,678,372,654,682,849,494,926,271,840,193,767,994,392,274,171,11,561,16,587,949,361,445,370,285,797,542,668,989,985,974,364,491,411,20,311,759,863,195,873,880,179,543,362,728,809,767,957,494,772,715,353,381,6,761,725,442,927,258,449,601,969,48,107,151,175,12,637,603,895,486,547,673,519,163,610,447,308,433,329,974,431,345,924,194,625,438,105,726,293,492,78,726,266,205,687,631,9,218,799,892,912,275,623,172,762,332,421,769,301,909,179,108,939,759,723,555,879,527,579,62,538,921,795,556,539,730,336,303,71,597,193,98,364,226,796,56,935,476,408,636,930,601,618,905,541,393,344,26,754,194,313,833,706,171,385,81,132,70,133,808,938,96,846,535,998,228,535,664,454,753,305,853,983,24,876,235,662,514,141,351,53,202,588,852,653,182,448,650,219,362,327,496,5,879,718,424,1000,949,686,644,991,458,681,829,901,187,864,346,709,955,909,292,87,219,341,434,349,836,661,84,953,104,626,654,484,245,240,244,993,472,141,957,759,558,772,905,978,251,637,529,534,330,311,491,941,195,269,35,515,869,657,823,233,165,726,739,651,768,866,802,917,939,857,702,837,685,705,504,894,79,503,752,886,9,148,424,619,509,32,311,617,201,941,56,1000,842,797,997,167,157,868,669,622,24,259,910,667,600,476,206,835,329,648,932,225,363,830,789,83,73,302,249,681,354,659,571,69,218,618,487,617,885,689,650,323,623,899,379,773,724,242,555,16,421,101,650,64,292,644,318,462,841,980,138,805,47,792,676,110,911,340,658,815,982,411,106,353,689,716,698,957,427,423,845,868,834,699,437,846,26,377,485,43,934,973,146,945,101,838,311,869,437,943,314,488,877,757,726,563,252,256,170,115,377,882,631,112,641,35,280,594,907,386,385,249,942,975,673,864,529,709,764,66,23,800,995,766,116,216,803,612,350,635,302,855,258,485,106,397,928,197,234,107,72,458,520,473,212,918,540,491,594,893,410,201,644,348,687,574,436,934,19,379,529,985,562,12,219,251,594,130,383,644,430,287,141,814,390,303,729,855,615,155,230,760,851,703,606,983,914,681,691,235,239,570,869,896,459,965,228,387,485,954,146,737,252,394,262,367,657,704,160,432,315,904,331,166,675,240,426,455,397,279,833,170,270,142,447,276,525,386,109,14,106,908,867,564,289,118,569,691,413,983,447,766,656,440,951,112,132,368,734,934,151,25,658,456,593,624,567,478,634,373,627,837,712,153,97,361,746,176,515,715,350,967,546,907,572,40,31,94,870,414,151,812,960,307,692,625,125,176,386,516,35,671,681,160,155,149,172,252,41,879,215,350,765,380,998,88,443,248,561,890,466,997,128,314,615,69,288,885,662,649,879,933,484,352,145,339,127,582,571,18,874,504,701,793,537,420,351,906,91,387,388,485,115,787,584,85,524,45,695,743,860,698,796,78,64,361,389,39,943,814,851,602,280,283,479,109,466,516,187,770,360,569,523,841,947,696,611,68,967,806,240,23,543,734,176,343,151,202,766,508,844,249,650,52,117,473,922,470,96,521,541,112,68,319,476,489,946,770,483,240,283,35,719,212,892,412,578,491,537,546,467,836,780,378,247,826,694,937,291,178,265,827,247,731,739,489,858,709,179,172,365,33,326,324,836,818,312,452,988,562,398,762,948,322,446,356,158,539,594,449,562,187,251,746,409,109,799,568,823,817,950,77,484,198,285,107,674,708,124,686,86,683,650,680,929,157,183,545,76,334,935,483,702,506,155,31,697,547,965,876,367,649,70,756,834,59,672,694,79,235,890,17,79,965,356,449,187,440,816,945,182,930,428,925,359,60,148,758,545,310,781,693,95,714,722,696,464,931,560,999,346,710,185,901,667,746,475,510,243,852,123,196,906,442,52,754,236,336,671,545,567,922,457,177,359,634,499,197,492,704,126,544,188,464,955,936,576,901,549,829,183,197,125,36,73,291,99,260,247,371,23,196,117,361,768,975,808,153,419,24,165,547,95,566,625,817,719,654,245,289,763,691,902,316,190,969,797,75,38,246,453,326,156,677,710,552,529,129,400,226,549,61,812,485,141,317,569,98,121,259,926,483,697,171,856,688,175,819,737,117,717,503,491,302,833,41,859,142,956,799,666,383,360,364,563,146,917,817,274,782,489,687,86,47,858,221,623,122,543,743,862,411,840,397,473,291,38,642,774,989,75,179,39,113,673,393,147,149,222,853,275,128,236,668,762,119,422,346,287,993,255,810,454,383,538,906,481,391,350,17,734,966,392,269,948,777,873,241,178,41,867,657,635,446,298,526,720,950,954,954,475,365,80,787,857,832,2,230,672,873,944,485,601,744,547,195,665,623,596,105,703,167,48,89,727,172,980,404,333,216,411,138,383,108,464,38,470,531,105,625,40,348,753,531,860,579,696,492,809,743,531,599,751,484,326,414,587,73,284,183,867,497,854,941,955,901,776,49,27,249,776,746,514,692,919,758,652,222,63,850,24,154,148,464,635,496,25,328,298,730,577,392,466,344,42,333,223,251,789,772,330,865,844,558,201,580,58,622,301,222,287,36,156,83,856,480,227,916,7,614,484,781,679,817,644,267,471,746,627,577,65,951,605,734,697,190,691,300,765,692,157,152,917,332,862,526,341,237,680,120,899,369,94,804,393,895,595,710,86,404,289,909,749,476,700,372,560,797,705,970,863,693,756,909,465,617,208,39,125,817,419,788,672,991,468,506,300,742,369,806,16,144,253,27,79,336,126,129,820,854,613,418,449,40,2,542,474,406,22,951,173,473,732,857,517,168,182,290,506,360,497,750,574,522,917,596,493,78,269,148,895,675,456,114,938,991,200,452,873,753,418,258,254,238,775,941,80,643,417,65,359,144,653,43,776,376,675,26,107,202,569,260,230,267,411,304,727,345,322,866,969,418,745,685,753,765,902,858,554,480,45,702,540,846,194,294,144,896,294,569,398,196,885,261,683,258,174,986,553,344,947,786,928,651,4,697,99,140,659,697,327,740,36,474,702,988,765,456,958,331,58,979,332,796,176,45,546,723,959,623,309,378,729,279,815,617,884,534,782,921,852,254,757,295,409,225,864,524,55,837,65,432,855,361,9,549,210,670,720,426,881,547,673,496,734,280,969,939,910,391,355,252,105,751,899,610,754,970,602,769,751,316,460,945,651,712,520,817,148,971,580,26,956,485,379,174,950,158,236,212,490,212,506,562,615,758,265,360,488,613,129,938,9,959,268,218,118,612,282,970,565,52,45,716,910,854,980,180,352,368,356,965,549,76,802,650,914,131,143,185,129,464,136,658,542,716,196,595,161,337,754,981,88,65,605,839,644,248,304,506,460,191,797,602,910,102,36,626,73,509,938,799,483,671,724,645,433,293,929,68,440,267,63,729,902,631,656,90,269,493,68,635,704,187,599,796,885,884,550,274,372,5,430,954,137,545,874,448,522,811,452,975,167,668,221,508,764,104,716,403,720,314,253,112,235,359,411,683,696,933,956,628,900,215,781,379,411,782,269,642,971,53,506,541,919,847,378,343,338,584,378,709,786,278,500,973,479,500,160,6,204,945,803,11,182,644,591,124,135,411,190,968,633,37,147,69,590,271,802,412,279,724,36,96,471,758,343,320,968,826,17,754,902,552,511,510,35,215,545,660,905,570,228,626,168,35,643,520,127,313,876,769,395,596,532,785,94,297,148,867,690,139,565,914,932,467,527,448,68,818,602,6,995,404,5,995,576,637,995,572,862,666,426,408,556,246,773,139,398,354,644,430,402,835,560,27,7,547,849,406,904,493,516,432,65,972,918,454,674,984,381,963,261,616,924,383,127,818,254,703,206,411,792,893,719,334,640,526,246,417,912,549,980,351,487,178,628,683,190,111,30,964,984,872,579,102,324,215,364,165,498,770,645,778,123,968,535,38,482,841,866,707,38,96,517,803,36,116,967,753,103,814,460,460,596,669,584,376,940,606,379,470,585,820,630,153,321,354,951,474,13,638,778,319,859,700,547,648,507,644,865,818,630,100,459,485,769,643,114,740,123,639,724,160,368,704,517,25,805,845,721,530,899,428,139,883,339,600,105,119,276,248,565,947,786,736,492,91,388,749,480,331,521,756,87,188,324,913,44,87,388,955,160,599,697,250,265,399,18,759,85,127,210,455,436,945,439,73,234,36,324,335,144,545,414,562,609,65,202,908,648,860,900,270,154,777,26,156,598,564,71,368,990,716,333,984,277,670,834,11,622,102,263,910,395,181,785,960,847,645,597,529,102,632,896,463,335,285,312,196,714,341,597,776,987,571,948,185,232,354,657,31,884,121,109,419,531,671,115,357,436,24,80,957,368,199,818,405,614,671,514,684,528,678,240,385,155,816,201,438,795,397,935,473,595,504,526,437,454,133,982,650,637,935,301,31,669,920,250,576,526,689,855,151,452,21,397,796,5,570,397,136,872,462,184,577,188,171,52,448,971,325,185,565,731,670,563,479,648,400,231,810,142,674,779,201,499,580,918,600,804,752,617,388,900,188,907,63,33,14,761,789,925,645,716,95,321,934,205,415,347,671,633,766,12,203,996,604,798,203,531,870,338,47,822,220,177,47,837,772,93,943,595,30,978,341,13,425,764,485,927,382,685,896,655,953,535,249,132,933,57,311,962,117,809,892,933,453,347,576,757,673,517,119,423,138,303,904,87,108,179,559,497,779,951,698,216,521,135,800,858,692,371,806,379,168,428,325,861,794,173,700,537,269,569,950,622,363,900,508,614,434,103,265,564,75,380,70,494,482,165,797,869,329,971,413,463,854,98,858,866,822,370,748,295,45,895,298,520,621,176,897,107,764,511,47,725,31,649,575,622,347,993,87,51,262,39,217,46,95,153,66,38,36,728,319,861,174,782,755,932,592,314,363,945,724,196,985,176,259,32,245,751,401,570,564,962,493,64,152,112,970,33,902,774,915,942,18,118,889,66,920,544,953,786,856,974,443,908,631,653,507,509,370,44,59,872,157,874,116,601,390,693,974,134,621,549,572,600,795,879,492,62,133,344,335,265,146,249,725,773,829,294,56,16,538,444,823,396,80,922,635,743,459,32,471,987,338,58,137,590,163,551,671,405,850,820,373,529,261,902,19,368,745,733,520,526,771,31,606,541,65,600,217,585,165,54,931,596,127,634,642,40,24,441,589,994,221,983,927,701,773,974,862,556,819,75,757,692,911,675,53,164,728,104,404,113,40,109,328,821,555,146,848,474,512,819,966,264,496,218,243,740,239,109,197,47,294,340,168,924,662,186,156,549,61,384,175,516,64,32,465,33,814,34,699,371,925,156,217,439,650,318,301,610,552,50,543,95,369,55,722,998,238,648,867,493,869,890,562,691,260,166,72,94,28,231,764,981,954,889,7,468,789,445,739,48,978,176,17,996,27,325,506,122,208,326,798,194,812,314,44,201,332,220,773,766,220,534,837,82,738,675,683,52,257,387,337,781,507,303,544,213,179,895,708,549,194,890,644,680,579,649,222,377,938,869,399,458,425,944,456,649,711,331,222,887,367,237,459,169,572,305,544,284,858,233,259,227,208,260,270,75,121,148,255,970,156,593,930,940,922,339,204,897,124,505,224,590,379,483,75,497,964,305,926,633,25,562,259,285,715,444,898,289,36,245,8,914,28,778,755,500,708,361,411,913,624,947,133,764,633,187,15,685,883,649,25,782,378,508,59,566,755,438,31,357,212,387,183,834,183,620,432,200,490,110,98,796,555,232,397,427,564,454,431,115,475,158,460,549,300,960,668,223,864,932,473,640,986,156,888,941,903,790,573,289,432,571,451,450,578,390,507,865,967,724,73,784,197,931,549,348,303,483,157,549,770,264,334,837,516,969,3,428,955,827,516,497,592,134,119,406,408,206,424,218,731,355,181,935,291,261,833,983,162,399,571,224,712,662,832,293,359,566,890,383,836,799,320,820,444,406,527,765,430,402,772,341,6,320,130,251,10,176,829,397,560,875,700,364,277,686,381,226,27,644,339,881,994,817,932,79,399,978,48,201,347,96,143,620,145,779,731,77,351,807,494,800,41,928,404,293,559,942,317,101,182,148,30,392,481,370,640,598,38,687,33,260,472,880,247,728,32,498,466,553,356,120,527,599,458,201,4,171,595,570,497,839,887,750,490,957,473,643,222,201,670,756,300,668,305,206,8,519,375,209,980,378,277,849,22,49,403,86,333,221,746,540,609,761,33,139,281,544,561,476,719,784,886,524,370,369,998,375,976,211,845,947,881,712,522,66,343,68,177,772,298,712,35,854,651,46,978,455,412,770,466,900,290,165,234,973,430,179,460,278,938,227,259,885,481,613,560,742,275,114,634,252,397,63,936,543,503,632,87,659,535,853,953,262,303,302,718,526,663,258,189,749,361,703,563,711,581,637,620,227,914,882,859,199,790,815,600,387,168,239,101,807,905,151,677,547,361,400,569,858,576,349,283,707,22,949,781,606,346,102,664,426,958,500,659,252,727,182,384,880,981,507,436,303,121,142,105,237,992,795,699,422,982,750,647,835,762,782,670,258,106,121,340,252,587,657,572,858,132,169,25,632,835,554,769,816,489,228,511,33,58,576,488,762,503,112,624,836,712,197,231,983,889,280,939,281,405,925,180,248,168,763,991,977,546,62,937,857,608,888,444,372,159,512,648,684,506,333,198,472,544,1,847,358,261,342,59,103,894,977,266,128,987,709,933,336,57,893,792,53,600,83,848,514,203,718,547,44,868,245,512,359,797,632,141,92,685,882,521,612,692,467,996,226,675,916,446,635,471,796,11,182,955,778,990,770,801,908,304,637,54,52,214,490,821,239,969,526,792,849,308,625,356,999,415,434,553,137,15,101,713,657,214,441,622,328,912,410,517,898,387,25,112,590,394,956,534,260,259,68,319,964,925,193,344,808,709,266,138,329,367,108,437,3,805,996,320,65,991,522,447,410,345,697,192,423,123,550,246,814,277,886,161,620,270,302,403,96,115,584,406,800,945,987,708,730,447,683,214,915,711,281,209,639,828,392,840,403,332,6,567,109,202,630,149,575,815,873,374,751,967,645,277,25,851,976,199,675,73,281,795,689,766,414,915,278,528,661,680,755,141,635,810,498,871,695,465,746,351,835,473,91,587,292,176,741,283,314,133,875,763,424,923,265,541,116,541,203,698,976,483,554,790,824,216,313,330,104,948,994,782,871,438,647,306,51,680,372,676,16,823,164,421,140,925,494,220,618,410,451,462,796,481,523,537,769,440,316,990,866,925,24,555,806,15,838,302,727,472,436,800,149,966,572,132,698,465,127,337,428,809,518,784,980,987,719,895,994,439,229,899,955,819,260,739,322,851,881,743,677,69,833,703,198,806,662,525,888,730,225,171,785,632,836,245,835,647,68,857,330,243,369,833,3,180,732,317,150,423,253,891,785,199,807,598,189,468,810,312,786,919,767,627,55,716,354,895,698,429,824,515,699,23,992,664,448,533,470,186,180,674,422,200,778,475,869,251,115,123,557,992,998,272,848,292,574,287,666,115,419,440,75,212,452,788,18,366,852,763,70,208,546,275,730,440,757,466,478,194,587,90,570,253,825,836,924,513,984,475,754,211,282,103,425,839,637,448,241,306,552,506,45,399,40,176,964,540,718,753,107,395,447,467,180,832,184,827,578,72,866,190,38,91,800,556,581,666,747,884,433,51,695,420,741,332,673,17,136,865,820,846,406,552,857,199,51,953,752,914,18,166,862,621,854,699,718,703,23,376,581,254,628,54,681,916,631,201,165,991,60,987,289,862,651,29,635,549,498,498,21,731,149,456,916,720,207,610,598,842,778,386,571,99,65,751,497,56,617,17,612,344,416,224,137,269,353,921,688,687,606,175,493,765,471,29,291,535,275,147,38,726,857,385,178,394,435,549,448,752,795,318,59,804,985,989,88,753,118,745,73,527,997,918,733,487,415,930,911,517,86,712,507,633,447,670,792,350,282,552,406,10,59,831,474,960,120,661,85,640,351,486,615,131,738,379,692,906,697,284,615,899,213,910,980,397,776,780,653,567,89,700,106,54,49,891,986,261,468,26,367,499,15,504,96,910,736,691,500,687,669,778,220,897,40,749,767,851,234,668,526,376,1,514,561,439,455,472,885,529,116,499,130,775,325,943,483,165,854,23,27,108,922,468,298,885,618,394,517,815,77,48,166,612,771,699,418,609,914,834,142,446,312,55,263,416,208,106,456,614,316,222,243,743,321,744,550,926,708,297,288,949,100,115,896,868,26,169,263,652,410,961,74,18,548,757,900,629,973,444,97,19,456,384,915,374,587,920,730,227,391,57,101,289,659,49,580,11,28,697,700,989,978,814,226,147,541,44,470,501,229,758,769,617,561,799,217,101,856,639,567,217,718,116,786,341,126,851,249,870,992,343,609,971,447,857,519,545,170,134,177,922,364,76,805,712,598,402,746,930,858,376,468,670,796,817,875,626,399,641,474,753,692,68,72,710,152,514,611,12,274,765,733,50,966,605,711,842,48,202,108,509,337,730,812,647,955,278,536,92,946,243,856,138,23,135,263,112,808,652,735,497,983,617,775,892,484,299,799,83,668,639,142,891,144,46,184,870,429,795,576,549,152,717,438,51,835,484,444,203,291,72,45,519,53,298,965,215,892,35,23,264,203,393,898,290,414,549,70,484,755,395,581,757,544,749,318,463,304,696,389,110,635,655,438,119,155,876,155,891,413,230,299,240,636,66,101,644,725,199,130,365,892,520,802,304,562,54,195,220,891,786,178,181,755,529,731,73,216,217,91,845,471,768,42,165,187,766,130,294,758,401,666,855,392,549,566,321,900,731,137,6,25,835,273,240,504,319,232,862,347,95,293,687,927,263,200,472,663,151,962,645,934,56,218,990,525,945,95,633,839,250,954,295,336,527,154,873,402,737,764,300,381,707,970,510,817,140,334,782,18,348,354,401,136,934,974,225,482,513,993,425,170,545,993,931,406,651,321,738,903,560,58,466,18,865,752,275,717,800,479,398,632,75,396,806,69,614,355,528,110,586,930,692,49,539,698,623,216,114,386,109,711,181,856,666,959,341,253,176,604,809,857,697,340,439,410,449,404,509,461,100,612,763,907,763,483,753,35,367,787,788,848,185,620,640,767,405,590,282,404,183,127,169,111,356,961,508,653,899,282,924,650,892,746,674,436,21,558,119,31,665,59,706,311,866,71,339,710,843,13,96,81,209,975,171,461,514,219,264,33,175,809,650,852,189,690,929,194,518,121,537,296,585,318,683,974,622,781,621,151,881,234,552,870,478,949,154,270,341,395,862,613,359,494,428,372,528,464,579,497,222,73,841,808,945,417,88,63,65,931,694,357,143,373,266,32,11,9,154,808,706,514,244,337,340,610,124,806,2,664,789,347,363,173,295,500,728,50,934,975,168,569,982,919,940,863,688,892,962,195,154,174,909,784,157,142,764,357,61,949,270,530,142,587,236,919,273,904,281,150,14,810,386,707,587,363,784,156,370,129,219,901,105,516,746,951,724,976,166,113,865,415,430,652,152,959,315,289,260,354,128,204,597,763,623,151,781,505,947,696,829,788,626,249,98,178,921,788,801,360,451,332,987,599,147,403,417,627,825,207,975,373,198,488,907,497,830,984,482,796,758,951,518,160,828,896,990,857,891,545,800,194,134,982,107,815,703,631,780,932,807,872,171,39,483,763,460,796,955,895,177,566,598,92,55,982,645,228,43,539,504,475,770,587,610,947,51,511,72,782,480,930,187,473,66,907,808,956,212,117,898,911,338,506,856,433,806,358,965,872,630,589,613,816,269,259,117,618,958,846,585,626,390,303,169,343,87,781,449,343,706,452,43,932,211,666,144,351,345,811,277,260,184,97,351,128,765,676,984,421,51,793,264,779,329,768,306,47,815,476,751,288,298,59,578,642,609,44,355,226,485,135,739,429,355,461,265,762,348,938,804,241,97,598,772,844,145,739,34,245,425,714,472,581,9,732,919,688,223,56,817,555,812,536,647,317,478,660,547,169,138,802,353,934,758,701,598,997,632,781,592,496,854,521,280,496,207,512,93,181,371,171,644,373,82,604,374,386,946,670,945,248,325,306,339,307,504,434,294,816,125,351,125,322,788,661,772,252,607,201,260,418,361,280,875,746,814,895,635,183,818,723,940,20,316,317,44,126,280,78,493,430,909,461,354,259,424,933,141,631,162,867,395,831,884,896,919,995,851,426,126,118,716,610,725,421,48,820,32,373,216,610,849,969,705,732,425,768,137,863,557,87,311,589,961,242,589,336,116,856,843,214,59,508,889,703,987,188,801,795,208,241,337,414,23,803,92,905,680,175,843,972,876,593,971,588,703,49,895,116,121,18,219,409,518,441,151,275,601,305,976,606,30,980,232,759,479,231,340,197,845,658,150,19,775,792,693,988,110,75,613,124,699,310,755,160,87,423,813,172,353,570,850,235,199,854,611,472,922,180,260,744,89,243,292,796,269,939,517,909,112,199,418,950,985,752,470,432,989,980,175,923,103,465,34,288,400,644,772,201,236,651,348,102,20,146,222,30,794,516,884,153,208,99,665,251,701,999,96,766,743,773,128,157,266,281,99,982,438,708,775,745,304,677,138,565,4,919,359,915,916,545,89,128,398,161,176,992,29,62,961,884,627,999,119,462,494,210,441,773,766,419,866,611,930,395,184,369,561,735,545,242,363,377,950,413,462,591,799,463,756,709,942,990,881,886,277,429,463,77,267,243,191,319,551,483,611,21,965,271,468,703,319,391,372,36,160,782,516,330,477,33,134,309,47,777,72,762,22,666,116,803,304,108,692,395,851,591,167,828,940,554,687,16,359,119,771,552,642,551,185,698,509,888,43,660,937,457,655,793,852,55,619,242,521,839,547,393,537,638,971,212,487,827,394,795,606,908,817,351,204,591,353,485,656,91,988,27,649,436,537,504,954,811,274,543,739,292,308,478,26,102,662,456,793,45,114,454,556,920,841,751,870,849,777,351,912,16,22,269,534,555,788,662,850,363,956,100,478,814,652,347,588,481,562,129,56,129,844,721,380,537,177,369,292,734,846,672,759,598,634,760,667,351,121,343,825,777,949,473,348,384,98,257,101,37,869,366,508,287,140,350,911,470,830,540,624,7,83,478,35,137,448,230,670,407,117,311,299,996,172,281,505,445,940,704,597,382,278,286,880,451,742,361,107,878,73,465,597,849,177,598,341,847,113,387,59,954,941,498,856,340,413,646,525,210,885,914,490,956,457,608,677,174,420,214,438,932,38,179,263,762,809,903,431,347,652,92,440,752,830,731,733,704,894,145,486,37,416,406,293,842,570,375,196,693,135,99,789,101,171,310,61,174,786,164,876,276,958,950,573,255,627,636,629,328,358,376,451,614,708,593,651,445,396,544,182,985,234,857,320,394,785,489,780,646,272,975,787,850,102,239,763,667,3,474,986,309,875,659,418,707,26,625,289,372,252,636,945,302,580,921,62,616,130,400,195,147,216,196,491,699,120,422,898,41,760,203,492,601,118,47,613,707,376,185,897,999,635,441,161,937,435,734,294,789,69,25,287,877,854,984,535,788,65,204,391,990,304,713,948,169,294,657,321,314,368,985,118,864,616,222,880,987,302,845,91,615,435,25,735,247,24,4,451,53,264,987,246,280,281,975,524,5,450,799,79,97,777,208,378,523,914,173,70,135,699,946,541,885,838,922,569,115,438,112,161,840,52,100,292,870,447,756,771,760,686,542,996,636,753,790,109,721,453,694,272,177,83,905,603,74,927,975,527,844,50,685,151,204,815,225,737,676,166,310,202,132,50,915,857,937,81,467,207,216,822,473,172,475,772,237,200,858,364,33,652,309,33,153,170,390,921,771,290,225,390,132,950,628,628,580,464,470,305,90,333,434,653,168,936,31,403,465,614,727,360,878,574,385,367,828,486,356,457,836,897,993,913,504,155,316,122,549,551,209,882,647,180,99,525,383,666,354,640,581,957,757,365,580,595,355,681,598,303,549,486,131,211,574,644,674,13,989,794,115,518,911,839,718,59,208,307,558,472,601,189,172,513,34,681,726,79,551,756,287,360,259,453,712,834,139,830,69,745,823,716,340,137,380,422,898,188,821,986,273,986,238,230,648,666,933,316,161,589,809,309,104,108,503,409,899,371,492,431,139,353,339,239,793,767,213,287,230,957,598,816,939,505,689,282,765,351,476,718,207,988,566,236,987,199,530,660,720,611,539,784,691,331,997,361,365,76,498,751,56,788,325,82,985,301,824,364,340,506,734,547,190,666,614,206,146,960,132,251,749,595,393,364,243,750,103,886,714,208,535,189,866,767,785,474,954,755,967,556,521,281,962,197,658,666,759,411,232,31,926,169,882,371,306,878,364,477,342,448,202,757,521,430,417,896,541,75,279,559,313,708,374,349,259,917,27,184,885,975,50,704,881,646,320,558,475,864,91,511,240,522,410,156,161,737,107,273,692,565,51,377,40,813,698,388,781,684,680,222,521,763,370,386,656,934,291,654,481,685,791,689,252,936,80,348,419,291,88,361,999,706,198,747,458,542,179,905,874,301,474,110,523,133,683,999,403,38,49,124,794,724,494,496,817,346,536,103,172,793,508,476,869,832,100,744,776,568,294,455,844,430,207,15,36,897,278,161,846,399,973,16,765,280,555,196,247,338,621,962,14,130,752,143,856,354,639,257,312,563,749,88,203,464,129,624,324,751,468,604,44,915,326,982,542,883,97,339,637,446,171,262,554,275,854,391,471,816,956,511,369,714,89,212,607,123,987,574,768,724,728,981,214,743,666,390,158,941,802,9,76,957,300,40,508,711,427,102,860,423,354,36,486,892,33,730,854,289,658,58,415,955,807,569,517,818,488,291,432,379,733,141,97,977,655,991,908,453,568,117,116,124,406,817,248,525,592,999,370,965,63,72,329,983,843,676,831,434,826,579,442,363,654,474,20,606,95,61,383,378,514,2,416,748,996,17,641,18,265,171,379,743,780,504,344,997,616,895,914,416,458,58,43,250,504,410,464,312,487,258,43,432,922,381,654,123,438,393,677,940,677,802,825,503,113,248,291,447,791,117,207,236,363,906,45,107,96,143,653,858,712,652,6,837,189,169,977,137,846,928,476,951,555,393,950,641,603,401,331,22,595,353,370,417,826,527,340,565,537,854,15,584,763,876,868,949,807,111,506,841,177,609,223,360,613,870,917,801,369,362,477,873,886,734,115,504,919,440,111,79,653,796,436,197,53,954,195,257,965,304,932,717,632,786,179,333,374,309,817,868,333,657,298,106,919,869,766,454,429,775,73,432,958,343,117,215,411,122,48,594,410,741,541,413,632,208,604,329,261,474,434,728,770,235,882,586,79,462,17,303,623,643,872,130,225,501,218,98,620,182,166,225,87,87,668,789,179,971,705,678,367,41,481,197,466,376,411,375,862,962,776,762,790,237,198,847,358,973,584,819,521,601,551,479,282,59,158,157,175,34,994,737,969,617,571,890,675,90,259,801,920,629,220,124,585,968,470,669,278,566,631,358,278,426,403,218,837,148,658,847,309,454,644,327,315,979,97,659,565,277,111,945,596,819,511,709,678,473,752,592,73,43,211,251,225,128,739,91,648,873,104,105,393,143,908,99,380,77,541,62,712,430,502,509,67,231,877,383,178,967,909,65,133,749,237,408,692,997,603,131,446,73,70,563,970,281,680,465,730,838,98,563,430,816,496,430,20,202,364,393,904,465,930,175,388,921,522,957,137,775,18,125,677,842,752,99,305,994,827,674,892,621,399,820,63,777,140,507,906,495,794,867,277,443,57,89,229,325,407,187,28,661,865,442,193,464,434,210,615,685,897,673,547,281,74,575,500,10,95,633,613,471,568,548,407,723,515,141,837,440,751,508,970,598,447,749,647,393,288,504,169,442,441,88,677,189,702,908,36,114,849,741,58,470,703,243,215,513,902,197,489,539,339,20,608,821,324,733,409,147,493,879,926,740,442,705,568,717,329,31,762,668,69,563,150,785,174,917,629,837,218,943,677,773,411,567,193,349,466,118,623,68,157,612,226,770,461,86,79,441,975,564,556,545,87,872,410,448,591,564,680,367,748,895,402,47,348,395,930,404,297,665,43,693,778,76,184,233,388,556,346,668,285,578,658,321,439,412,362,822,502,308,644,92,984,736,327,75,124,103,750,442,495,524,106,416,483,447,424,254,504,766,492,799,720,942,281,773,751,764,499,18,399,533,361,636,769,78,187,752,196,396,374,853,483,770,247,502,727,93,771,575,560,226,753,972,987,591,406,826,977,884,952,69,754,906,341,157,7,934,603,32,391,37,166,635,738,274,205,983,51,577,339,911,497,300,82,653,953,499,524,836,856,827,543,118,44,49,342,381,847,186,627,499,472,432,662,837,223,119,183,41,246,400,762,428,730,926,624,383,228,734,53,681,237,240,899,863,191,288,17,522,39,829,311,495,269,33,553,480,654,967,873,990,324,48,698,689,239,635,415,285,529,755,453,101,647,762,560,594,5,868,377,335,405,634,105,940,604,437,954,945,510,257,976,464,206,417,302,775,542,370,46,819,681,912,317,891,595,258,771,373,678,476,160,208,188,713,485,987,873,13,761,788,50,624,841,745,484,781,967,844,240,463,428,614,417,530,881,216,514,325,98,731,195,974,872,839,661,503,59,125,209,894,535,663,52,195,422,181,36,672,593,447,478,543,76,760,416,350,679,381,503,57,82,913,130,3,994,676,790,962,698,887,709,207,79,215,441,821,256,268,807,854,255,748,33,635,133,825,65,281,988,814,424,150,87,267,556,936,428,105,775,622,913,867,38,509,871,379,269,118,329,673,918,979,275,677,439,971,627,409,783,986,833,431,183,218,438,631,588,447,994,931,968,623,366,659,848,767,770,90,982,122,629,824,137,324,123,171,625,272,330,870,17,251,73,52,577,906,282,152,267,363,435,971,123,402,767,676,432,942,724,785,935,443,438,803,562,159,904,544,132,635,516,748,24,679,373,858,141,937,137,209,713,664,613,816,792,581,250,953,658,878,220,854,35,863,452,343,717,185,51,177,208,13,706,533,934,708,499,797,110,209,360,77,183,972,35,120,926,288,506,837,462,911,856,495,306,267,981,269,216,885,913,606,645,187,494,434,479,984,106,681,590,882,899,968,373,352,260,636,904,287,780,476,34,174,698,21,486,18,91,43,874,217,37,809,935,571,116,320,964,429,808,108,852,255,685,183,141,461,543,621,358,284,684,214,941,559,596,992,851,766,494,652,998,183,766,458,188,792,702,13,750,175,18,960,211,107,573,875,132,137,61,290,63,27,317,288,918,896,897,672,564,660,807,149,89,761,339,791,176,553,517,131,215,980,467,918,172,291,206,799,629,377,495,863,701,237,587,821,921,582,795,67,158,657,571,604,224,188,591,325,91,859,834,22,924,417,696,66,173,270,366,434,204,815,696,656,654,463,760,880,26,912,299,882,32,801,186,881,246,60,597,709,261,640,415,144,177,785,104,295,951,234,332,311,225,915,18,918,501,626,77,276,148,407,563,111,912,972,495,175,187,901,759,117,711,533,263,295,536,925,571,896,506,47,545,722,953,709,331,163,838,478,688,614,295,997,597,970,83,942,187,147,29,599,752,888,799,418,4,336,580,193,632,889,415,190,922,122,476,525,109,385,616,657,390,825,144,778,652,680,556,452,598,299,128,194,275,66,246,936,252,942,29,230,911,681,959,57,914,462,118,950,507,903,384,733,562,954,341,225,625,229,126,92,727,983,368,688,426,940,949,378,859,136,928,492,85,177,317,643,601,158,189,372,798,452,120,244,986,437,988,61,799,490,607,230,195,157,466,502,851,791,293,835,863,215,306,94,294,759,157,682,769,960,467,263,468,936,459,834,266,922,22,4,140,789,49,501,648,128,75,459,396,901,221,494,379,622,939,425,822,372,638,538,777,954,760,553,212,750,642,877,724,133,274,856,837,230,495,309,47,297,955,622,23,552,183,129,209,553,634,930,544,633,824,26,447,74,950,270,286,832,49,767,958,548,731,14,622,737,396,490,687,784,248,625,440,112,524,873,66,553,166,633,888,96,872,575,404,635,481,110,601,837,135,277,993,729,173,147,788,56,190,463,54,666,431,238,841,754,963,667,904,71,551,641,714,858,186,304,346,790,720,288,792,217,366,118,448,392,695,925,196,484,531,694,676,149,859,552,433,151,449,582,351,182,600,304,443,702,528,726,831,610,802,518,443,38,399,236,566,835,159,763,189,555,29,373,81,58,31,117,17,825,336,14,529,171,4,336,985,360,901,423,86,684,100,679,987,682,732,890,500,519,763,833,693,451,658,986,484,98,688,143,730,259,713,735,168,775,472,43,815,465,880,807,906,554,247,707,288,347,121,495,862,431,754,647,45,15,308,492,663,820,218,556,862,454,743,192,7,650,351,594,61,347,797,404,633,835,946,158,87,370,387,984,159,942,507,107,252,406,983,221,216,664,8,983,354,977,634,203,951,244,703,194,1000,965,145,104,590,364,428,39,430,616,965,686,63,895,182,453,540,118,977,856,168,328,154,445,2,907,460,413,673,25,221,961,897,312,469,685,510,841,529,123,689,858,470,185,265,56,774,728,759,43,313,91,717,189,222,395,283,211,92,997,96,454,711,237,733,226,133,634,666,180,575,616,357,418,818,680,939,595,919,583,671,21,974,712,476,901,894,231,418,294,717,947,871,725,561,91,135,245,393,195,436,108,526,50,407,473,606,497,771,537,84,293,601,148,902,458,627,275,583,990,777,831,477,248,342,233,116,706,517,123,495,81,490,315,215,660,423,361,825,846,590,46,94,102,54,237,159,981,711,929,595,523,588,946,449,934,340,39,716,410,706,872,290,245,974,889,946,435,468,500,302,111,101,493,761,908,336,257,307,204,468,461,925,11,187,393,837,278,615,158,906,214,996,459,493,975,42,628,75,816,103,66,744,344,200,831,973,671,663,128,787,148,925,189,743,258,936,389,467,23,887,399,809,825,992,150,685,511,55,875,103,788,887,317,338,16,948,864,277,330,541,71,188,666,414,202,207,544,953,885,509,643,252,499,796,963,293,124,442,263,699,569,538,441,480,587,119,234,265,280,482,601,476,286,170,979,335,12,630,784,122,762,7,308,275,694,693,220,28,64,856,486,831,68,204,511,471,712,792,997,93,377,796,944,275,95,110,359,386,246,503,575,59,885,521,254,534,422,145,77,859,526,851,61,901,778,161,465,133,433,446,59,185,150,391,596,339,180,545,587,915,774,508,475,975,22,38,693,501,886,465,795,148,71,434,59,858,305,287,49,781,820,77,797,258,855,445,248,342,493,146,70,147,502,659,799,672,70,615,943,770,535,971,933,91,959,301,900,861,223,178,714,385,993,269,227,563,732,814,245,747,390,638,612,871,581,54,892,234,318,419,69,651,814,889,667,402,732,305,69,396,287,255,351,670,410,363,535,466,870,582,908,470,303,529,328,374,426,242,477,830,579,643,157,155,298,793,5,541,923,719,597,291,922,886,779,639,170,37,51,643,438,530,971,250,331,637,376,319,533,589,107,7,618,866,107,601,754,869,901,707,200,856,641,480,976,194,329,852,518,967,891,357,828,779,60,434,695,304,307,66,698,899,952,521,52,500,526,394,731,269,239,568,197,65,753,266,550,254,118,988,533,9,520,207,912,421,846,948,194,301,530,818,678,982,645,44,532,999,300,98,431,273,848,865,572,289,642,942,910,540,294,742,235,515,561,230,214,993,516,68,729,295,902,651,648,951,324,167,801,137,981,954,530,229,643,775,430,400,378,879,654,853,942,963,828,559,98,934,108,563,696,928,378,646,124,999,412,379,677,896,931,163,106,178,53,939,165,25,470,883,444,29,590,939,936,81,193,299,326,926,628,273,294,472,416,879,629,634,680,948,580,510,405,299,287,566,261,398,938,353,131,771,502,718,663,690,839,26,636,706,818,674,438,60,293,321,529,106,679,923,391,666,591,393,217,182,468,931,474,667,59,419,437,99,958,901,421,235,556,131,508,130,41,386,942,83,47,741,79,15,486,811,859,868,693,228,702,750,210,412,959,894,662,902,785,791,13,663,472,987,176,446,9,625,18,444,41,670,881,35,490,96,21,374,840,171,76,636,220,834,78,818,922,135,975,39,205,474,135,537,768,290,202,2,927,808,252,294,461,390,249,780,685,120,661,51,678,950,240,344,28,604,444,584,479,750,634,348,104,608,297,823,836,253,560,111,812,517,44,435,977,147,62,959,703,508,220,395,827,173,551,867,452,464,489,190,318,697,264,570,564,108,730,745,342,807,790,406,757,790,914,572,406,356,959,439,412,189,814,283,560,17,492,175,660,358,673,112,769,972,13,720,288,290,16,270,521,448,532,572,943,428,612,671,50,970,898,505,4,822,718,27,117,249,191,168,550,826,464,983,901,678,449,565,463,215,551,40,663,932,710,637,118,522,183,257,719,572,567,918,138,61,315,869,610,144,555,79,607,668,502,382,423,235,488,463,670,148,398,118,23,415,586,579,540,853,282,729,216,959,301,477,386,700,333,246,806,843,206,765,140,339,479,737,853,543,900,94,482,49,34,144,323,328,246,651,328,98,693,475,948,319,713,82,746,31,905,637,582,943,641,307,338,720,105,50,632,473,892,204,690,605,635,362,131,612,948,274,443,802,149,72,745,732,1,601,102,846,21,555,171,800,654,4,16,786,147,892,156,923,825,395,495,229,593,631,799,886,446,559,837,909,627,606,122,140,566,916,811,767,346,885,870,447,677,977,637,487,697,409,40,28,758,548,875,74,895,182,492,978,378,440,572,166,173,549,422,989,615,169,50,349,36,36,194,269,42,972,867,432,853,434,490,509,959,979,453,414,953,297,640,8,659,801,673,996,636,81,623,122,300,121,554,609,850,86,142,239,261,852,822,455,789,363,2,368,15,924,163,772,991,552,221,774,948,687,646,637,942,607,965,986,619,957,22,211,21,716,727,66,440,484,51,139,734,677,146,855,214,848,456,325,664,579,244,382,532,31,991,597,734,562,267,712,664,438,493,59,35,101,914,993,889,736,889,536,728,568,763,50,930,347,258,890,276,733,541,995,747,61,950,4,588,109,192,301,75,888,930,150,86,275,620,930,139,801,474,993,848,996,743,37,572,329,852,355,962,723,717,755,687,225,405,186,770,995,211,970,966,3,261,419,768,308,258,260,982,153,541,251,168,508,451,785,958,987,493,347,849,442,314,456,165,72,971,307,24,830,452,166,743,314,228,690,884,124,14,88,794,210,819,667,947,760,297,505,591,450,169,820,269,365,153,67,753,359,460,787,226,387,314,784,36,775,497,874,131,215,760,486,759,473,759,306,92,505,356,551,452,391,713,102,557,907,189,51,69,664,314,615,650,95,166,969,535,438,437,196,581,831,18,597,860,607,383,444,185,30,677,811,185,258,493,349,29,25,497,472,138,914,202,251,38,910,768,852,967,280,541,331,396,186,245,615,596,966,138,578,13,895,752,205,748,759,682,635,923,675,756,568,171,562,104,343,63,850,495,782,483,523,506,185,163,477,563,49,517,969,303,859,952,602,363,855,300,33,308,128,832,959,482,132,751,697,450,967,567,805,123,886,661,214,521,227,398,798,35,402,835,349,502,776,212,673,75,304,809,234,614,988,401,839,610,157,738,276,900,529,513,574,736,345,90,288,112,929,465,999,949,920,498,250,288,505,490,243,611,610,354,18,692,557,101,341,92,982,934,427,768,114,94,222,585,484,313,912,299,549,689,26,156,822,619,762,897,275,286,946,476,917,403,79,357,266,238,293,98,684,961,718,199,160,487,468,369,679,141,771,624,114,367,604,749,627,707,298,248,239,744,205,862,90,561,709,133,874,304,27,252,573,221,158,283,976,469,353,644,383,279,603,510,720,499,183,551,806,875,782,105,639,428,721,458,189,631,141,335,14,312,324,689,187,599,482,267,765,793,272,482,704,2,792,951,575,853,901,58,149,462,37,729,817,418,900,791,842,430,336,59,714,394,517,417,286,503,474,859,857,898,75,957,99,954,350,216,82,108,721,971,171,528,597,566,139,480,116,577,778,39,856,861,49,957,820,430,276,439,654,844,724,994,927,177,533,441,944,914,326,117,895,615,800,647,867,760,324,873,673,354,602,982,197,148,358,288,485,282,402,399,571,429,513,507,567,837,655,635,102,997,367,563,459,1,934,525,44,374,803,488,251,240,347,846,825,385,268,493,79,209,357,621,418,284,833,394,135,715,273,413,41,350,481,178,775,117,93,130,614,668,895,879,234,423,280,527,870,589,416,51,225,164,765,957,549,591,898,888,222,592,498,72,347,662,929,282,758,602,664,172,881,654,315,553,848,716,248,750,314,875,675,267,510,791,995,589,899,220,99,519,901,47,323,262,297,475,418,80,615,800,508,320,335,239,212,25,35,884,267,673,685,569,339,872,547,904,183,796,979,564,629,845,380,778,913,336,389,319,46,96,301,340,640,282,550,541,885,395,393,335,69,472,43,309,145,198,491,3,863,431,177,11,169,963,50,789,704,71,63,975,144,960,629,853,33,419,786,235,116,901,316,805,971,868,325,306,771,8,625,16,674,977,612,316,52,531,467,621,895,52,261,767,431,189,672,452,425,484,493,638,761,220,719,611,711,10,460,399,227,214,886,672,247,251,823,870,432,840,48,908,86,843,828,429,822,204,323,849,776,273,341,984,605,333,960,857,878,439,350,758,41,281,863,172,206,747,780,253,310,424,439,277,799,170,634,451,96,889,211,197,854,350,684,755,589,302,436,453,22,856,1000,398,316,637,418,883,698,618,921,983,414,728,234,506,610,135,304,389,409,912,41,410,640,7,282,868,334,175,345,703,534,414,658,517,553,560,448,181,574,886,586,409,914,21,442,278,468,884,553,302,540,265,797,626,760,149,449,226,454,836,146,818,975,252,140,211,679,813,504,641,364,784,261,42,363,114,675,362,441,526,52,529,538,962,882,75,698,786,10,854,729,392,328,243,892,202,361,488,56,30,777,606,690,767,393,367,731,566,973,343,518,301,649,41,280,527,85,261,429,595,591,224,481,393,921,947,519,187,851,295,285,699,341,27,7,363,368,303,978,782,820,27,452,884,736,529,849,433,551,541,672,670,516,844,992,858,75,205,868,597,814,649,443,329,451,910,584,608,129,471,200,794,29,382,789,809,412,918,488,8,511,332,707,661,360,390,485,507,971,378,467,969,659,564,447,541,505,846,238,466,102,718,599,907,969,785,563,469,611,558,183,834,12,517,270,21,869,606,671,989,865,940,825,396,420,840,367,156,969,813,16,533,5,48,743,99,946,673,591,272,177,119,931,300,747,823,260,238,249,448,740,518,364,153,300,896,672,219,953,228,687,241,884,473,590,202,651,322,119,580,380,754,992,312,935,79,258,644,620,174,638,478,411,339,322,400,283,333,124,975,597,383,981,115,602,951,135,839,950,775,61,403,612,395,525,789,640,484,499,574,721,455,353,336,949,548,723,308,372,47,146,474,848,289,794,418,366,235,447,267,969,815,571,923,498,33,528,971,132,777,417,376,193,551,504,70,664,143,354,454,823,853,556,580,434,246,755,715,347,520,345,935,486,35,47,330,954,331,683,905,249,509,254,494,643,581,703,205,438,615,590,591,629,563,19,696,489,487,655,97,95,155,896,319,321,382,25,896,892,792,552,423,759,863,328,220,967,823,943,109,748,766,638,919,873,175,290,221,525,863,526,625,377,681,453,515,385,836,777,973,454,315,25,203,683,108,372,312,741,100,677,632,454,328,985,793,98,579,55,484,751,373,146,602,908,966,9,964,693,337,739,695,257,698,766,846,778,644,229,546,425,409,769,254,507,111,820,594,133,109,51,836,350,951,893,20,79,633,352,38,551,125,791,85,399,365,318,457,355,464,133,658,815,696,946,1000,975,194,439,5,353,499,301,627,920,248,301,208,902,501,320,224,707,943,924,210,525,996,770,273,315,968,241,22,314,2,798,11,640,563,27,426,631,8,542,621,603,534,189,650,632,744,914,573,396,12,423,835,79,341,841,346,692,951,942,130,158,500,284,157,280,31,674,259,418,741,259,71,190,241,364,531,705,502,678,824,951,288,261,40,72,347,408,957,635,205,652,833,599,39,289,958,735,114,84,923,966,509,941,373,128,163,623,713,662,275,625,693,197,880,369,317,620,18,239,669,151,645,535,363,273,597,658,790,821,994,84,954,617,170,100,723,765,558,607,518,794,399,439,775,633,25,659,880,479,784,308,864,50,849,157,300,167,138,479,398,2,41,67,547,53,959,744,884,218,846,24,724,89,957,709,259,369,454,243,429,434,197,684,520,503,716,216,843,177,663,128,569,51,299,848,93,791,734,462,236,488,508,307,20,362,118,28,501,99,420,439,226,552,46,348,386,944,172,384,862,767,897,690,227,288,353,659,448,416,788,526,997,801,911,293,10,85,120,147,119,398,156,150,843,206,723,834,939,132,743,355,504,527,515,520,516,211,821,734,288,375,643,571,583,460,316,242,159,505,341,62,263,250,970,122,880,290,606,80,783,22,593,297,821,457,347,260,171,921,436,555,516,892,586,632,570,301,107,945,718,651,416,781,1,94,918,325,685,309,696,576,298,34,64,755,322,742,869,724,862,199,57,425,646,465,975,610,360,533,269,677,986,252,161,543,925,573,762,29,355,748,507,46,993,530,158,128,720,536,454,953,510,456,307,737,141,534,154,664,712,346,921,98,379,186,292,12,425,374,461,376,633,537,853,143,894,927,617,847,160,256,951,207,859,893,228,636,661,717,1,721,680,986,182,564,514,587,306,881,285,408,834,217,231,379,345,24,34,739,435,903,349,592,929,852,565,56,906,981,685,806,3,936,932,15,511,434,142,316,402,337,973,323,408,162,905,584,149,508,699,394,383,30,300,1000,253,709,28,235,450,345,32,956,465,425,367,134,229,269,463,511,628,558,278,12,244,928,880,526,902,982,398,747,33,840,513,105,756,391,228,991,836,186,695,878,755,731,732,257,391,824,684,366,498,800,193,765,230,170,736,92,19,75,160,653,851,625,778,698,495,693,277,82,610,936,823,549,73,280,543,404,334,411,175,622,371,237,788,377,1,868,785,665,974,588,694,155,508,451,904,417,719,816,263,83,756,817,253,433,653,717,572,630,235,240,976,52,636,574,140,531,685,534,623,868,124,486,414,639,577,706,797,132,748,118,48,302,887,871,324,691,127,150,687,105,829,607,128,590,108,609,24,239,162,47,918,147,639,785,126,847,268,44,861,925,697,835,699,560,915,301,933,535,330,921,966,117,277,508,36,925,315,383,470,764,160,672,963,298,600,423,60,192,206,109,216,204,702,284,741,522,99,987,553,346,379,347,486,517,442,194,794,503,346,44,624,197,989,122,208,698,515,128,32,311,245,296,666,376,362,207,731,419,201,710,929,869,80,687,802,390,95,878,337,545,101,733,575,115,769,544,415,267,392,468,908,549,586,179,965,112,230,735,350,23,499,744,330,312,697,751,229,737,701,152,514,156,927,332,1000,74,692,553,254,554,647,94,179,732,332,113,559,417,347,550,826,438,73,184,658,55,689,982,770,738,518,534,582,481,573,920,115,563,900,343,628,256,214,787,667,440,613,242,183,162,448,976,895,871,173,265,227,455,74,707,136,655,125,610,227,241,44,507,911,742,380,320,772,5,166,445,290,402,852,165,849,885,415,965,741,213,27,462,377,673,477,833,789,221,249,579,501,124,652,849,263,145,297,866,902,450,59,103,685,728,996,835,271,922,202,915,65,203,871,737,446,769,274,292,435,42,67,299,363,995,246,40,30,446,907,873,96,706,279,514,710,391,571,47,31,553,979,560,825,191,826,47,896,149,246,845,689,618,999,922,301,369,622,924,185,474,882,101,190,747,744,545,19,579,584,61,469,187,396,151,397,62,172,967,292,85,317,989,267,82,623,712,902,750,564,30,184,884,134,189,360,98,777,348,347,293,626,144,898,297,334,395,894,719,356,543,899,481,283,343,56,338,992,688,50,644,506,593,402,181,250,711,140,97,431,631,227,165,579,425,380,719,460,198,85,11,361,797,310,168,386,544,4,416,428,896,603,898,268,323,149,810,653,975,733,226,773,296,319,576,47,791,466,464,8,288,175,904,705,876,979,575,518,889,553,938,702,757,142,428,496,69,88,323,207,60,871,141,502,946,443,913,681,956,637,788,230,219,583,585,55,999,995,853,874,591,26,165,320,767,764,489,342,27,386,523,867,717,540,100,175,698,361,761,183,630,589,407,535,883,69,572,820,773,967,442,46,885,99,10,454,574,22,509,558,676,858,687,479,642,768,701,125,58,720,99,66,453,254,984,598,602,443,254,330,81,618,210,748,360,819,656,228,492,2,595,926,168,651,958,881,838,345,680,251,389,335,139,829,453,912,599,338,573,126,443,123,573,284,399,801,94,26,862,639,734,407,802,265,5,304,373,681,466,6,903,354,324,111,846,635,717,74,872,79,378,297,982,946,307,719,531,805,802,266,71,215,409,812,597,935,260,280,523,748,184,329,879,513,1,868,669,336,129,777,490,232,867,316,880,257,659,841,604,430,955,106,951,529,865,926,12,926,236,20,97,974,674,67,52,318,300,364,100,322,374,734,434,186,478,437,253,683,687,534,321,252,174,86,494,165,783,699,509,975,299,122,652,887,655,383,839,940,909,178,209,104,386,765,426,696,400,519,857,571,60,122,193,340,443,860,491,43,813,436,196,284,226,28,277,937,104,731,198,823,394,915,791,316,727,273,926,461,297,386,723,112,103,985,935,548,232,503,995,616,479,576,963,800,817,250,651,171,77,763,680,648,530,853,97,176,28,130,89,208,458,615,299,206,846,58,926,568,524,940,57,668,401,204,718,480,348,393,323,721,844,858,22,36,497,887,520,916,865,171,955,817,769,547,295,270,158,776,435,166,664,265,760,368,790,919,353,916,828,625,371,769,605,324,374,91,320,595,554,934,448,197,955,454,209,777,179,70,887,996,784,223,859,357,179,236,565,152,430,41,262,639,117,823,195,280,165,49,242,984,559,890,59,255,683,914,817,104,618,139,226,561,297,469,96,64,499,343,725,742,581,492,236,506,121,756,781,458,744,419,820,478,876,545,320,384,584,850,614,880,412,106,39,754,134,548,167,382,37,182,762,104,988,453,521,265,963,637,478,361,250,746,159,456,584,436,249,290,901,826,32,219,315,444,504,702,332,296,465,326,355,554,843,96,691,517,879,738,545,501,465,918,734,660,611,350,388,244,240,5,102,212,298,956,206,853,747,149,705,565,191,556,293,605,704,101,664,276,957,982,841,1000,83,33,66,609,108,765,308,96,820,53,196,330,826,785,162,205,284,996,278,148,515,365,11,307,707,215,308,989,31,471,914,39,85,318,141,291,842,529,655,496,324,2,387,784,535,86,490,98,352,710,24,52,790,837,562,111,763,478,906,531,401,134,919,573,253,947,932,795,510,544,766,537,955,120,26,184,672,150,26,508,138,278,399,280,636,848,727,892,836,304,701,221,64,783,595,1000,209,413,841,504,615,976,584,535,499,729,207,765,560,620,310,119,561,266,827,3,24,765,137,708,94,547,588,662,64,56,986,241,299,224,319,960,320,3,20,568,372,355,903,688,756,176,504,66,573,116,911,782,408,33,96,336,755,460,277,675,754,539,324,105,541,99,549,992,659,555,38,341,783,539,107,417,986,930,711,429,893,351,169,834,352,399,45,551,597,887,989,267,949,31,236,268,847,767,653,853,172,827,877,135,65,193,68,890,324,147,559,987,222,581,319,278,161,383,938,557,250,136,121,576,12,55,997,580,466,754,712,479,990,111,155,163,536,567,998,323,247,767,959,141,767,186,927,464,128,5,30,902,206,314,671,481,247,588,615,680,182,886,268,813,818,390,751,155,92,43,78,251,581,955,412,801,927,424,171,592,426,228,1,759,66,118,630,357,577,834,286,715,909,87,906,207,379,962,578,976,256,550,95,262,190,905,816,590,843,1,273,282,771,337,557,38,66,356,158,498,644,452,533,415,823,792,308,71,27,600,412,350,696,623,207,666,85,674,807,504,557,561,628,74,980,958,330,463,306,77,502,209,303,446,299,32,633,434,931,735,440,757,22,81,817,115,981,417,801,370,82,769,789,70,449,702,444,367,621,57,699,877,824,558,692,331,499,981,386,433,420,134,187,655,333,347,223,85,237,892,976,689,94,305,184,817,49,114,86,466,402,165,174,285,457,528,638,670,923,365,163,696,4,821,626,809,319,662,966,482,47,557,64,119,773,442,761,356,518,6,223,948,594,512,802,314,813,832,299,576,557,443,446,55,558,263,228,842,793,246,403,104,95,994,9,154,440,885,799,95,206,876,654,69,897,180,784,859,667,955,861,285,822,652,53,77,7,1,913,316,726,392,607,514,712,191,872,958,106,692,932,979,689,620,451,752,39,427,836,853,996,994,372,250,133,681,70,411,186,134,241,671,909,388,605,898,351,241,644,735,945,944,422,522,710,329,779,349,215,771,249,486,791,740,447,204,300,83,185,467,602,608,99,385,174,739,822,616,981,202,614,742,297,49,142,853,123,93,569,862,313,618,452,145,245,843,208,542,861,183,211,978,619,898,650,225,784,977,298,93,391,630,834,620,165,416,504,330,755,416,538,894,49,2,176,454,944,786,468,254,795,599,364,236,112,670,436,117,842,376,111,968,179,728,473,405,218,893,165,772,513,463,588,218,162,929,825,382,809,101,183,775,845,887,54,205,551,132,860,792,239,934,371,955,407,818,256,265,944,489,344,202,237,186,905,118,615,502,716,808,193,475,812,475,737,900,708,363,194,369,538,341,495,934,156,287,992,141,97,709,404,138,256,850,543,424,445,905,108,619,196,459,302,24,790,317,630,881,861,33,908,186,139,48,137,744,945,505,936,831,256,766,743,357,964,259,13,185,22,100,100,872,907,745,862,803,62,640,976,14,151,453,559,494,488,286,209,184,39,550,585,840,861,30,640,281,346,637,140,952,653,999,904,804,791,688,828,655,341,305,955,73,854,855,363,745,907,68,298,542,795,514,286,433,544,880,711,380,577,52,416,92,162,70,315,308,318,223,272,408,574,871,138,771,773,100,843,746,445,630,756,19,401,33,374,655,277,403,607,911,684,410,227,989,107,510,171,184,529,237,422,288,974,558,136,803,878,392,79,279,54,8,676,285,758,262,569,992,629,324,538,188,94,930,442,522,112,478,848,279,534,688,251,140,295,713,160,457,282,127,413,10,56,699,604,979,482,154,52,116,45,217,157,695,391,284,812,896,561,473,390,478,220,771,795,144,77,450,352,316,189,380,764,370,483,996,659,371,494,983,414,780,408,874,415,348,994,420,201,267,978,662,756,213,576,914,899,418,691,486,906,263,127,520,160,505,112,320,782,63,698,464,971,498,802,702,297,175,37,946,235,937,811,160,130,859,192,474,535,922,358,524,880,40,281,463,90,161,513,895,570,362,158,792,60,921,994,271,359,845,897,271,719,593,258,379,587,263,535,37,125,966,629,256,718,91,103,336,433,538,747,851,832,815,255,840,904,382,557,529,320,655,89,952,917,159,426,573,695,589,578,330,856,396,700,813,581,183,137,75,67,971,46,416,820,236,724,337,370,893,245,181,844,933,853,392,358,211,825,702,538,234,634,223,22,721,197,742,984,457,30,107,327,814,15,547,771,871,308,188,963,194,296,279,653,85,696,776,231,630,838,857,234,743,615,487,342,868,921,37,809,593,680,328,980,718,562,399,369,402,143,431,507,570,140,2,284,578,705,815,95,14,217,623,905,514,730,515,885,119,123,306,251,481,317,923,305,419,479,440,794,365,451,835,933,730,406,137,735,47,694,881,271,539,832,856,819,418,462,322,619,758,358,903,167,743,222,541,195,381,958,191,517,661,732,958,1,679,249,321,404,553,135,490,736,830,870,620,854,603,290,98,219,308,356,925,954,937,980,629,945,328,413,736,866,995,67,334,141,69,235,327,544,803,8,263,67,127,381,544,461,210,401,869,707,402,987,760,957,935,574,656,611,139,454,489,356,568,881,547,738,158,956,297,54,421,544,91,149,226,703,310,835,413,609,35,458,695,420,818,489,885,386,424,403,196,358,719,156,853,806,629,98,949,380,734,722,731,980,253,178,426,847,693,448,322,249,106,775,918,294,922,730,537,113,528,603,388,355,594,437,655,570,864,586,968,567,546,344,187,116,984,935,156,949,887,656,829,100,404,747,943,522,301,729,344,640,290,944,753,934,839,237,375,532,944,460,107,406,578,782,98,508,159,31,917,474,313,302,967,376,787,330,119,160,123,936,982,541,115,938,137,871,791,883,65,866,175,832,724,412,291,233,19,195,968,838,921,202,259,308,481,192,684,339,163,518,105,857,894,978,105,869,260,610,769,905,266,34,941,948,773,92,846,248,474,798,370,217,643,402,621,68,501,715,794,644,42,703,433,222,865,548,738,526,759,818,41,573,394,413,356,271,543,286,247,948,266,928,869,435,806,261,143,904,324,651,453,110,224,366,484,663,812,501,807,855,265,822,837,805,813,533,112,854,435,586,880,727,575,896,508,970,560,274,945,50,483,668,452,402,221,468,865,661,811,560,938,769,765,960,853,10,488,108,499,231,170,686,492,828,561,426,783,863,681,410,191,99,549,724,126,448,675,493,744,517,563,794,139,275,281,111,605,575,95,471,347,792,919,901,792,198,550,65,282,926,852,208,585,528,753,129,358,673,189,336,400,34,285,643,679,879,232,856,115,100,603,140,968,227,481,768,701,612,248,536,857,17,962,687,148,245,866,592,982,553,113,286,193,703,738,136,220,952,952,336,758,315,966,109,57,676,881,704,326,17,142,510,458,891,653,102,63,960,737,613,324,19,77,443,302,647,392,5,348,721,503,608,551,667,180,849,789,122,687,856,940,798,945,286,20,739,932,796,615,493,794,185,144,146,827,116,832,314,826,787,825,343,403,126,944,809,392,858,603,16,158,998,639,129,408,808,487,48,824,710,629,102,173,285,386,76,840,710,181,514,483,403,201,897,448,417,285,625,628,158,763,715,565,482,788,468,402,322,117,425,757,554,257,247,196,677,564,579,403,888,401,492,92,640,68,557,833,905,605,137,276,805,259,669,389,464,424,473,494,603,865,332,899,483,447,177,683,472,131,191,339,58,393,878,724,748,59,639,104,871,591,151,779,705,811,485,564,618,639,584,618,789,909,943,29,844,369,42,618,191,562,100,384,660,779,381,766,171,648,454,726,241,361,901,608,243,777,180,81,852,84,133,521,39,121,765,921,210,959,89,366,947,426,490,84,581,371,226,146,19,569,420,637,246,804,704,676,562,120,259,355,223,416,586,252,237,986,647,852,267,749,337,688,117,351,165,875,233,646,60,250,534,301,420,894,808,729,810,100,114,298,438,453,627,136,967,219,509,912,496,785,786,615,86,278,556,587,64,991,571,661,352,867,983,44,226,19,37,973,260,729,340,732,891,430,827,278,801,310,456,354,868,582,463,925,541,383,368,639,81,866,508,47,943,474,336,160,609,82,582,866,877,477,685,866,510,389,785,915,178,492,265,158,871,296,825,686,6,282,38,990,14,777,515,838,247,384,292,82,353,24,156,166,929,679,899,264,189,59,947,401,966,270,454,171,344,806,122,109,757,719,380,555,804,674,563,86,679,391,611,906,96,376,13,888,3,308,290,841,905,744,413,282,552,114,450,312,754,980,362,676,248,787,555,168,26,189,940,577,752,877,122,664,228,873,100,740,458,893,832,114,88,188,743,952,803,555,909,922,634,209,141,495,825,765,222,679,360,89,509,734,714,840,919,315,353,599,513,581,283,167,101,162,825,633,856,430,536,342,562,585,669,397,900,353,386,440,228,105,724,498,155,401,878,596,481,886,669,425,249,968,931,451,176,506,875,184,620,654,412,57,778,544,109,308,796,981,182,756,51,362,895,2,374,234,686,942,899,297,370,924,693,361,585,173,107,891,754,733,180,443,624,16,494,768,917,87,699,57,591,959,691,738,486,164,203,599,226,388,678,725,791,824,651,123,92,887,275,392,849,673,284,714,391,397,920,11,578,112,766,28,308,20,910,461,329,165,917,894,240,574,894,981,105,789,619,914,71,270,750,346,651,255,118,257,526,376,33,458,423,411,344,319,151,302,311,634,615,774,139,571,100,23,597,343,807,535,161,211,840,444,770,721,261,157,37,481,121,618,950,30,262,626,915,937,426,623,191,734,347,27,181,390,451,365,428,224,77,391,906,453,605,174,612,891,910,157,945,272,507,226,378,490,937,703,90,833,575,165,105,608,154,78,882,737,413,255,761,841,409,903,382,922,998,456,584,391,462,29,101,679,109,7,910,217,532,953,242,251,723,228,129,161,398,133,936,620,586,174,822,33,51,394,503,445,947,140,447,318,220,280,626,638,886,311,126,686,992,910,205,10,489,581,34,533,444,944,368,269,652,656,542,181,441,642,244,93,904,724,821,278,101,2,106,772,45,920,360,223,729,758,604,973,338,800,680,814,236,692,469,238,705,239,444,137,622,457,905,126,568,164,302,702,158,895,269,730,429,816,571,719,609,389,670,504,245,466,554,678,291,497,218,414,259,400,75,1,361,147,262,954,20,127,688,199,231,345,834,649,592,496,392,549,414,698,613,528,970,486,495,393,697,450,747,776,673,485,428,21,471,821,325,269,760,451,527,925,450,181,760,965,415,411,966,671,722,579,638,504,163,554,179,869,171,913,412,412,377,640,615,323,301,726,237,945,349,34,725,30,6,126,165,673,25,433,614,982,565,123,330,50,210,751,315,192,228,540,785,645,698,401,87,569,338,58,149,688,387,301,128,603,875,941,660,248,514,121,496,97,908,840,32,146,173,383,861,354,671,610,806,507,991,75,950,756,410,432,832,178,343,359,271,148,419,561,262,81,853,795,642,260,557,575,3,607,967,20,135,126,655,459,263,544,649,757,131,108,72,305,5,91,99,174,385,966,853,560,933,601,992,916,870,743,550,406,402,785,840,788,781,372,243,557,625,483,621,451,756,759,669,329,472,222,659,448,875,960,629,613,135,208,108,953,393,674,841,184,619,585,890,894,452,974,220,699,773,295,234,329,328,315,631,781,761,170,615,530,159,346,186,231,184,376,492,672,126,40,997,397,872,233,645,544,711,481,984,305,654,956,140,806,900,813,34,629,178,256,543,69,316,48,867,439,303,736,411,311,733,264,105,887,174,575,590,727,113,708,451,956,298,765,728,580,380,59,109,174,19,872,777,172,718,270,363,279,111,266,476,849,783,447,484,589,474,136,82,71,811,813,533,770,38,428,221,72,400,95,756,547,812,418,107,93,229,670,990,928,769,374,704,25,298,995,840,997,527,339,208,695,226,496,973,717,662,943,252,778,157,104,405,918,718,638,774,831,189,551,336,8,196,200,814,36,2,847,540,3,900,334,770,492,172,515,545,699,680,896,114,424,726,776,29,741,154,849,444,15,228,954,731,228,939,961,49,528,311,14,984,866,223,679,109,389,918,564,6,703,266,52,560,711,102,415,477,383,128,865,945,676,913,393,862,968,279,69,439,956,918,804,760,474,406,903,247,67,852,157,863,433,713,111,356,551,934,934,236,746,736,796,713,252,608,855,370,134,731,224,629,276,609,893,927,241,217,247,518,765,891,82,264,462,392,23,9,984,478,276,207,273,303,524,164,810,908,667,598,303,671,365,472,297,222,53,774,165,274,840,565,545,761,666,802,136,191,349,626,708,488,171,970,433,519,729,932,591,286,920,854,246,538,649,381,982,219,784,41,355,923,645,579,503,412,62,573,735,171,739,886,376,735,408,968,454,372,508,367,25,188,427,882,175,855,148,299,918,733,997,105,939,866,810,954,96,810,157,456,735,924,691,136,855,78,122,138,198,257,51,914,464,749,757,503,949,330,101,960,890,383,99,763,503,922,846,499,709,348,469,859,505,755,103,630,957,745,575,913,423,390,797,748,904,748,742,674,148,294,24,79,517,548,609,204,95,442,32,483,902,824,547,780,882,293,548,63,599,74,754,564,393,184,496,552,4,184,161,686,73,252,712,368,367,52,805,953,323,2,108,165,802,505,194,872,778,562,408,119,710,335,759,137,405,451,384,559,640,314,522,787,407,509,340,253,526,854,29,2,528,33,671,609,969,486,969,473,743,740,136,931,590,263,103,55,158,166,778,416,883,661,269,19,314,370,830,668,149,234,453,82,772,125,69,176,255,121,571,940,369,410,320,579,922,966,950,474,253,596,534,744,548,603,273,504,834,538,931,892,150,497,616,140,994,434,756,644,986,653,933,199,879,602,324,964,128,739,642,56,614,827,632,712,712,140,151,504,489,643,647,661,904,933,104,908,915,6,142,884,111,583,253,326,797,714,294,463,637,332,567,833};
    }
}
